source: trunk/third/jwgc/sysdep.h @ 22406

Revision 22406, 3.3 KB checked in by ghudson, 19 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22405, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef _SYSDEP_H_
2#define _SYSDEP_H_ 1
3
4#ifdef HAVE_CONFIG_H
5#include "config.h"
6#endif /* HAVE_CONFIG_H */
7
8#ifdef HAVE_SYS_TYPES_H
9#include <sys/types.h>
10#endif /* HAVE_SYS_TYPES_H */
11
12#ifdef HAVE_SYS_SOCKET_H
13#include <sys/socket.h>
14#endif /* HAVE_SYS_SOCKET_H */
15
16#ifdef HAVE_NETINET_IN_H
17#include <netinet/in.h>
18#endif /* HAVE_NETINET_IN_H */
19
20#ifdef HAVE_SYS_UN_H
21#include <sys/un.h>
22#endif /* HAVE_SYS_UN_H */
23
24#ifdef HAVE_CTYPE_H
25#include <ctype.h>
26#endif /* HAVE_CTYPE_H */
27
28#ifdef HAVE_MATH_H
29#include <math.h>
30#endif /* HAVE_MATH_H */
31
32#ifdef HAVE_PWD_H
33#include <pwd.h>
34#endif /* HAVE_PWD_H */
35
36#ifdef HAVE_STDIO_H
37#include <stdio.h>
38#endif /* HAVE_STDIO_H */
39
40#ifdef HAVE_STDLIB_H
41#include <stdlib.h>
42#endif /* HAVE_STDLIB_H */
43
44#ifdef HAVE_SETJMP_H
45#include <setjmp.h>
46#endif /* HAVE_SETJMP_H */
47
48#ifdef HAVE_SYS_STAT_H
49#include <sys/stat.h>
50#endif /* HAVE_SYS_STAT_H */
51
52#ifdef HAVE_ERRNO_H
53#include <errno.h>
54#endif /* HAVE_ERRNO_H */
55
56#ifdef HAVE_SIGNAL_H
57#include <signal.h>
58#endif /* HAVE_SIGNAL_H */
59
60#ifdef HAVE_SYSLOG_H
61#include <syslog.h>
62#endif /* HAVE_SYSLOG_H */
63
64#ifdef HAVE_WAIT_H
65#include <wait.h>
66#endif /* HAVE_WAIT_H */
67
68#ifdef HAVE_SYS_WAIT_H
69#include <sys/wait.h>
70#endif /* HAVE_SYS_WAIT_H */
71
72#ifdef HAVE_FCNTL_H
73#include <fcntl.h>
74#endif /* HAVE_FCNTL_H */
75
76#ifdef HAVE_TERMIO_H
77#include <termio.h>
78#endif /* HAVE_TERMIO_H */
79
80#ifdef HAVE_TERMIOS_H
81#include <termios.h>
82#endif /* HAVE_TERMIOS_H */
83
84#ifdef HAVE_UNISTD_H
85#include <unistd.h>
86#endif /* HAVE_UNISTD_H */
87
88#ifdef HAVE_DIRENT_H
89#include <dirent.h>
90#endif /* HAVE_DIRENT_H */
91
92#ifdef HAVE_STRING_H
93#include <string.h>
94#endif /* HAVE_STRING_H */
95
96#ifdef HAVE_STRINGS_H
97#include <strings.h>
98#endif /* HAVE_STRINGS_H */
99
100#ifdef HAVE_REGEX_H
101#include <regex.h>
102#else
103#ifdef HAVE_REGEXP_H
104#define __DO_NOT_DEFINE_COMPILE 1
105#include <regexp.h>
106#endif /* HAVE_REGEXP_H */
107#endif /* HAVE_REGEX_H */
108
109#ifdef HAVE_TIME_H
110#include <time.h>
111#endif /* HAVE_TIME_H */
112
113#ifdef HAVE_SYS_TIME_H
114#include <sys/time.h>
115#endif /* HAVE_SYS_TIME_H */
116
117#ifdef HAVE_NETDB_H
118#include <netdb.h>
119#endif /* HAVE_NETDB_H */
120
121#ifdef HAVE_ARPA_INET_H
122#include <arpa/inet.h>
123#endif /* HAVE_ARPA_INET_H */
124
125#ifdef HAVE_STDDEF_H
126#include <stddef.h>
127#endif /* HAVE_STDDEF_H */
128
129#ifdef HAVE_SYS_PARAM_H
130#include <sys/param.h>
131#endif /* HAVE_SYS_PARAM_H */
132
133#ifdef HAVE_NAMESER_H
134#include <nameser.h>
135#endif /* HAVE_NAMESER_H */
136
137#ifdef HAVE_RESOLV_H
138#include <resolv.h>
139#endif /* HAVE_RESOLV_H */
140
141#ifdef __STDC__
142#ifdef HAVE_STDARG_H
143#include <stdarg.h>
144
145# define VA_LOCAL_DECL  va_list ap;
146# define VA_START(f)    va_start(ap, f)
147# define VA_END         va_end(ap)
148#endif /* HAVE_STDARG_H */
149#else /* __STDC__ */
150#ifdef HAVE_VARARGS_H
151#include <varargs.h>
152
153# define VA_LOCAL_DECL  va_list ap;
154# define VA_START(f)    va_start(ap)
155# define VA_END         va_end(ap)
156#endif /* HAVE_VARARGS_H */
157#endif /* __STDC__ */
158
159#ifdef HAVE_LIBSSL
160#include <openssl/ssl.h>
161#define USE_SSL 1
162#endif /* HAVE_LIBSSL */
163
164#ifdef HAVE_LIBGPGME
165#define USE_GPGME 1
166#endif /* HAVE_LIBGPGME */
167
168#ifdef WINDOWS_H
169#include <windows.h>
170#endif /* WINDOWS_H */
171
172#ifndef ulong
173#define ulong u_long
174#endif /* ulong */
175
176#ifndef MAXHOSTNAMELEN
177#define MAXHOSTNAMELEN 256
178#endif /* MAXHOSTNAMELEN */
179
180#ifndef HAVE_LIBX11
181#define X_DISPLAY_MISSING 1
182#endif /* HAVE_LIBX11 */
183
184#endif /* _SYSDEP_H_ */
Note: See TracBrowser for help on using the repository browser.