diff options
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 34 |
1 files changed, 4 insertions, 30 deletions
diff --git a/includes.h b/includes.h index da08722ec..b7b013745 100644 --- a/includes.h +++ b/includes.h | |||
@@ -46,10 +46,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
46 | #include <grp.h> | 46 | #include <grp.h> |
47 | #include <time.h> | 47 | #include <time.h> |
48 | #include <dirent.h> | 48 | #include <dirent.h> |
49 | #ifdef HAVE_CYGWIN | 49 | |
50 | #ifdef HAVE_GETOPT_H | ||
50 | #include <getopt.h> | 51 | #include <getopt.h> |
51 | #endif | 52 | #endif |
52 | |||
53 | #ifdef HAVE_BSTRING_H | 53 | #ifdef HAVE_BSTRING_H |
54 | # include <bstring.h> | 54 | # include <bstring.h> |
55 | #endif | 55 | #endif |
@@ -90,34 +90,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | #include "version.h" | 92 | #include "version.h" |
93 | |||
94 | /* OpenBSD function replacements */ | ||
95 | #include "openbsd-compat.h" | 93 | #include "openbsd-compat.h" |
96 | 94 | #include "cygwin_util.h" | |
97 | /* Entropy collection */ | ||
98 | #include "entropy.h" | 95 | #include "entropy.h" |
99 | 96 | ||
100 | /* Define this to be the path of the xauth program. */ | 97 | #endif /* INCLUDES_H */ |
101 | #ifndef XAUTH_PATH | ||
102 | #define XAUTH_PATH "/usr/X11R6/bin/xauth" | ||
103 | #endif /* XAUTH_PATH */ | ||
104 | |||
105 | /* Define this to be the path of the rsh program. */ | ||
106 | #ifndef _PATH_RSH | ||
107 | #define _PATH_RSH "/usr/bin/rsh" | ||
108 | #endif /* _PATH_RSH */ | ||
109 | |||
110 | /* | ||
111 | * Define this to use pipes instead of socketpairs for communicating with the | ||
112 | * client program. Socketpairs do not seem to work on all systems. | ||
113 | */ | ||
114 | /* #define USE_PIPES 1 */ | ||
115 | |||
116 | #ifdef HAVE_CYGWIN | ||
117 | #define open binary_open | ||
118 | #define pipe binary_pipe | ||
119 | extern int binary_open(); | ||
120 | extern int binary_pipe(); | ||
121 | #endif | ||
122 | |||
123 | #endif /* INCLUDES_H */ | ||