2 * Central header file for agedu, defining various useful things.
46 #ifdef HAVE_SYS_TYPES_H
47 # include <sys/types.h>
49 #ifdef HAVE_SYS_STAT_H
50 # include <sys/stat.h>
58 #ifdef HAVE_SYS_MMAN_H
59 # include <sys/mman.h>
64 #ifdef HAVE_SYS_IOCTL_H
65 # include <sys/ioctl.h>
73 #ifdef HAVE_SYS_WAIT_H
74 # include <sys/wait.h>
76 #ifdef HAVE_SYS_SOCKET_H
77 # include <sys/socket.h>
79 #ifdef HAVE_ARPA_INET_H
80 # include <arpa/inet.h>
82 #ifdef HAVE_NETINET_IN_H
83 # include <netinet/in.h>
88 #ifdef HAVE_SYS_SELECT_H
89 # include <sys/select.h>
94 #define DUMPHDR "agedu dump file. pathsep="
96 #define lenof(x) (sizeof((x))/sizeof(*(x)))
101 #define STRUCT_STAT struct stat64
102 #define LSTAT lstat64
104 #define STRUCT_STAT struct stat