leafnode  1.12.0
About: Leafnode is a store & forward NNTP proxy for small (dialup) sites.
  Fossies Dox: leafnode-1.12.0.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

system.h
Go to the documentation of this file.
1#ifndef SYSTEM_H
2#define SYSTEM_H
3
4#include "config.h"
5
6#if TIME_WITH_SYS_TIME
7# include <sys/time.h>
8# include <time.h>
9#else
10# if HAVE_SYS_TIME_H
11# include <sys/time.h>
12# else
13# include <time.h>
14# endif
15#endif
16
17#if HAVE_DIRENT_H
18# include <dirent.h>
19# define NAMLEN(dirent) strlen((dirent)->d_name)
20#else
21# define dirent direct
22# define NAMLEN(dirent) (dirent)->d_namlen
23# if HAVE_SYS_NDIR_H
24# include <sys/ndir.h>
25# endif
26# if HAVE_SYS_DIR_H
27# include <sys/dir.h>
28# endif
29# if HAVE_NDIR_H
30# include <ndir.h>
31# endif
32#endif
33
34#ifdef HAVE_STRINGS_H
35#include <strings.h>
36#endif
37
38#endif /* SYSTEM_H */