00001 #ifndef _SYSDEP_H_
00002 #define _SYSDEP_H_ 1
00003
00004 #ifdef HAVE_CONFIG_H
00005 #include "config.h"
00006 #endif
00007
00008 #ifdef HAVE_SYS_TYPES_H
00009 #include <sys/types.h>
00010 #endif
00011
00012 #ifdef HAVE_SYS_SOCKET_H
00013 #include <sys/socket.h>
00014 #endif
00015
00016 #ifdef HAVE_NETINET_IN_H
00017 #include <netinet/in.h>
00018 #endif
00019
00020 #ifdef HAVE_SYS_UN_H
00021 #include <sys/un.h>
00022 #endif
00023
00024 #ifdef HAVE_CTYPE_H
00025 #include <ctype.h>
00026 #endif
00027
00028 #ifdef HAVE_MATH_H
00029 #include <math.h>
00030 #endif
00031
00032 #ifdef HAVE_PWD_H
00033 #include <pwd.h>
00034 #endif
00035
00036 #ifdef HAVE_STDIO_H
00037 #include <stdio.h>
00038 #endif
00039
00040 #ifdef HAVE_STDLIB_H
00041 #include <stdlib.h>
00042 #endif
00043
00044 #ifdef HAVE_SETJMP_H
00045 #include <setjmp.h>
00046 #endif
00047
00048 #ifdef HAVE_SYS_STAT_H
00049 #include <sys/stat.h>
00050 #endif
00051
00052 #ifdef HAVE_ERRNO_H
00053 #include <errno.h>
00054 #endif
00055
00056 #ifdef HAVE_SIGNAL_H
00057 #include <signal.h>
00058 #endif
00059
00060 #ifdef HAVE_SYSLOG_H
00061 #include <syslog.h>
00062 #endif
00063
00064 #ifdef HAVE_WAIT_H
00065 #include <wait.h>
00066 #endif
00067
00068 #ifdef HAVE_SYS_WAIT_H
00069 #include <sys/wait.h>
00070 #endif
00071
00072 #ifdef HAVE_FCNTL_H
00073 #include <fcntl.h>
00074 #endif
00075
00076 #ifdef HAVE_TERMIO_H
00077 #include <termio.h>
00078 #endif
00079
00080 #ifdef HAVE_TERMIOS_H
00081 #include <termios.h>
00082 #endif
00083
00084 #ifdef HAVE_UNISTD_H
00085 #include <unistd.h>
00086 #endif
00087
00088 #ifdef HAVE_DIRENT_H
00089 #include <dirent.h>
00090 #endif
00091
00092 #ifdef HAVE_STRING_H
00093 #include <string.h>
00094 #endif
00095
00096 #ifdef HAVE_STRINGS_H
00097 #include <strings.h>
00098 #endif
00099
00100 #ifdef HAVE_REGEX_H
00101 #include <regex.h>
00102 #else
00103 #ifdef HAVE_REGEXP_H
00104 #define __DO_NOT_DEFINE_COMPILE 1
00105 #include <regexp.h>
00106 #endif
00107 #endif
00108
00109 #ifdef HAVE_TIME_H
00110 #include <time.h>
00111 #endif
00112
00113 #ifdef HAVE_SYS_TIME_H
00114 #include <sys/time.h>
00115 #endif
00116
00117 #ifdef HAVE_NETDB_H
00118 #include <netdb.h>
00119 #endif
00120
00121 #ifdef HAVE_ARPA_INET_H
00122 #include <arpa/inet.h>
00123 #endif
00124
00125 #ifdef HAVE_STDDEF_H
00126 #include <stddef.h>
00127 #endif
00128
00129 #ifdef HAVE_SYS_PARAM_H
00130 #include <sys/param.h>
00131 #endif
00132
00133 #ifdef HAVE_NAMESER_H
00134 #include <nameser.h>
00135 #endif
00136
00137 #ifdef HAVE_RESOLV_H
00138 #include <resolv.h>
00139 #endif
00140
00141 #ifdef __STDC__
00142 #ifdef HAVE_STDARG_H
00143 #include <stdarg.h>
00144
00145 # define VA_LOCAL_DECL va_list ap;
00146 # define VA_START(f) va_start(ap, f)
00147 # define VA_END va_end(ap)
00148 #endif
00149 #else
00150 #ifdef HAVE_VARARGS_H
00151 #include <varargs.h>
00152
00153 # define VA_LOCAL_DECL va_list ap;
00154 # define VA_START(f) va_start(ap)
00155 # define VA_END va_end(ap)
00156 #endif
00157 #endif
00158
00159 #ifdef HAVE_LIBSSL
00160 #include <openssl/ssl.h>
00161 #define USE_SSL 1
00162 #endif
00163
00164 #ifdef HAVE_LIBGPGME
00165 #define USE_GPGME 1
00166 #endif
00167
00168 #ifdef WINDOWS_H
00169 #include <windows.h>
00170 #endif
00171
00172 #ifndef ulong
00173 #define ulong u_long
00174 #endif
00175
00176 #ifndef MAXHOSTNAMELEN
00177 #define MAXHOSTNAMELEN 256
00178 #endif
00179
00180 #ifndef HAVE_LIBX11
00181 #define X_DISPLAY_MISSING 1
00182 #endif
00183
00184 #endif