Parent Directory | Revision Log | Patch
revision 1.7 by chupa, Thu Dec 5 00:12:16 2002 UTC | revision 1.8 by chupa, Fri Dec 6 23:05:30 2002 UTC | |
---|---|---|
# | Line 22 | Line 22 |
22 | * | * |
23 | */ | */ |
24 | ||
25 | #include "config.h" | #if HAVE_CONFIG_H |
26 | # include "config.h" | |
27 | #endif | |
28 | ||
29 | #ifdef WITH_TCPIP | #ifdef WITH_TCPIP |
30 | ||
31 | #include <unistd.h> | #if STDC_HEADERS |
32 | #include <stdio.h> | # include <stdlib.h> |
33 | #include <stdlib.h> | # include <stddef.h> |
34 | #include <string.h> | #else |
35 | #include <errno.h> | # if HAVE_STDLIB_H |
36 | # include <stdlib.h> | |
37 | # endif | |
38 | #endif | |
39 | #if HAVE_STRING_H | |
40 | # if !STDC_HEADERS && HAVE_MEMORY_H | |
41 | # include <memory.h> | |
42 | # endif | |
43 | # include <string.h> | |
44 | #endif | |
45 | #if HAVE_UNISTD_H | |
46 | # include <unistd.h> | |
47 | #endif | |
48 | #if HAVE_STDIO_H | |
49 | # include <stdio.h> | |
50 | #endif | |
51 | #if HAVE_ERRNO_H | |
52 | # include <errno.h> | |
53 | #endif | |
54 | ||
55 | #include <sys/types.h> | #if HAVE_SYS_TYPES_H |
56 | #include <sys/socket.h> | # include <sys/types.h> |
57 | #include <net/if.h> | #endif |
58 | #include <netinet/in.h> | #if HAVE_SYS_SOCKET_H |
59 | #include <arpa/inet.h> | # include <sys/socket.h> |
60 | #include <netdb.h> | #endif |
61 | #include <fcntl.h> | #if HAVE_NET_IF_H |
62 | # include <net/if.h> | |
63 | #endif | |
64 | #if HAVE_NETINET_IN_H | |
65 | # include <netinet/in.h> | |
66 | #endif | |
67 | #if HAVE_ARPA_INET_H | |
68 | # include <arpa/inet.h> | |
69 | #endif | |
70 | #if HAVE_NETDB_H | |
71 | # include <netdb.h> | |
72 | #endif | |
73 | #if HAVE_FCNTL_H | |
74 | # include <fcntl.h> | |
75 | #endif | |
76 | ||
77 | #include "gettext.h" | #include "gettext.h" |
78 | #include "options.h" | #include "options.h" |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |