… | |
… | |
2 | * Copyright © 2005 William Pitcock et al. |
2 | * Copyright © 2005 William Pitcock et al. |
3 | * Rights to this code are documented in doc/pod/license.pod. |
3 | * Rights to this code are documented in doc/pod/license.pod. |
4 | * |
4 | * |
5 | * This is the header which includes all of the system stuff. |
5 | * This is the header which includes all of the system stuff. |
6 | * |
6 | * |
7 | * $Id: stdinc.h,v 1.3 2007/08/28 17:08:07 pippijn Exp $ |
7 | * $Id: stdinc.h,v 1.4 2007/09/09 20:05:51 pippijn Exp $ |
8 | */ |
8 | */ |
9 | |
9 | |
10 | #ifndef STDINC_H |
10 | #ifndef STDINC_H |
11 | #define STDINC_H |
11 | #define STDINC_H |
12 | |
12 | |
… | |
… | |
21 | #include <setjmp.h> |
21 | #include <setjmp.h> |
22 | #include <sys/stat.h> |
22 | #include <sys/stat.h> |
23 | #include <cctype> |
23 | #include <cctype> |
24 | #include <regex.h> |
24 | #include <regex.h> |
25 | |
25 | |
26 | #ifdef HAVE_GETOPT_H |
|
|
27 | #include <getopt.h> |
|
|
28 | #endif |
|
|
29 | |
|
|
30 | #ifdef HAVE_LINK_H |
|
|
31 | #include <link.h> |
|
|
32 | #endif |
|
|
33 | |
|
|
34 | /* socket stuff */ |
26 | /* socket stuff */ |
35 | #include <netdb.h> |
27 | #include <netdb.h> |
36 | #include <netinet/in.h> |
28 | #include <netinet/in.h> |
37 | #include <unistd.h> |
29 | #include <unistd.h> |
38 | #include <grp.h> |
30 | #include <grp.h> |
39 | #include <sys/time.h> |
|
|
40 | #include <sys/wait.h> |
31 | #include <sys/wait.h> |
41 | #include <sys/resource.h> |
32 | #include <sys/resource.h> |
42 | #include <sys/socket.h> |
33 | #include <sys/socket.h> |
43 | #include <fcntl.h> |
34 | #include <fcntl.h> |
44 | #include <arpa/inet.h> |
35 | #include <arpa/inet.h> |