diff options
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/includes.h b/includes.h index e2a0ea3b6..75349cf3e 100644 --- a/includes.h +++ b/includes.h | |||
@@ -19,9 +19,10 @@ This file includes most of the needed system headers. | |||
19 | #define RCSID(msg) \ | 19 | #define RCSID(msg) \ |
20 | static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | 20 | static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } |
21 | 21 | ||
22 | #include "config.h" | ||
23 | |||
22 | #include <sys/types.h> | 24 | #include <sys/types.h> |
23 | #include <sys/socket.h> | 25 | #include <sys/socket.h> |
24 | #include <sys/select.h> | ||
25 | #include <sys/param.h> | 26 | #include <sys/param.h> |
26 | #include <sys/ioctl.h> | 27 | #include <sys/ioctl.h> |
27 | #include <sys/stat.h> | 28 | #include <sys/stat.h> |
@@ -52,8 +53,6 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
52 | #include <time.h> | 53 | #include <time.h> |
53 | #include <dirent.h> | 54 | #include <dirent.h> |
54 | 55 | ||
55 | #include "config.h" | ||
56 | |||
57 | #ifdef HAVE_NETGROUP_H | 56 | #ifdef HAVE_NETGROUP_H |
58 | # include <netgroup.h> | 57 | # include <netgroup.h> |
59 | #endif | 58 | #endif |
@@ -63,16 +62,18 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
63 | #ifdef HAVE_ENDIAN_H | 62 | #ifdef HAVE_ENDIAN_H |
64 | # include <endian.h> | 63 | # include <endian.h> |
65 | #endif | 64 | #endif |
65 | #ifdef HAVE_SYS_SELECT_H | ||
66 | # include <sys/select.h> | ||
67 | #endif | ||
68 | #ifdef HAVE_LIBPAM | ||
69 | # include <security/pam_appl.h> | ||
70 | #endif /* HAVE_PAM */ | ||
66 | 71 | ||
67 | #include "version.h" | 72 | #include "version.h" |
68 | #include "helper.h" | 73 | #include "helper.h" |
69 | #include "mktemp.h" | 74 | #include "mktemp.h" |
70 | #include "strlcpy.h" | 75 | #include "strlcpy.h" |
71 | 76 | ||
72 | #ifdef HAVE_LIBPAM | ||
73 | #include <security/pam_appl.h> | ||
74 | #endif /* HAVE_PAM */ | ||
75 | |||
76 | /* Define this to be the path of the xauth program. */ | 77 | /* Define this to be the path of the xauth program. */ |
77 | #ifndef XAUTH_PATH | 78 | #ifndef XAUTH_PATH |
78 | #define XAUTH_PATH "/usr/X11R6/bin/xauth" | 79 | #define XAUTH_PATH "/usr/X11R6/bin/xauth" |