diff options
author | djm <djm> | 2000-09-05 05:13:06 +0000 |
---|---|---|
committer | djm <djm> | 2000-09-05 05:13:06 +0000 |
commit | ef6b288652255f4efeee427d80c1dc88f8661c6b (patch) | |
tree | 134fa639cff379ad40914eb85aa445ad864b0697 /includes.h | |
parent | a55bea016086bffe9a2b8295468d833a8ebc99c4 (diff) | |
download | openssh-ef6b288652255f4efeee427d80c1dc88f8661c6b.tar.gz |
- (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -29,7 +29,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include <sys/wait.h> #include <sys/resource.h> +#ifndef HAVE_CYGWIN #include <netinet/tcp.h> +#endif #include <arpa/inet.h> #include <netdb.h> @@ -46,6 +48,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include <grp.h> #include <time.h> #include <dirent.h> +#ifdef HAVE_CYGWIN +#include <getopt.h> +#endif #ifdef HAVE_BSTRING_H # include <bstring.h> @@ -110,4 +115,11 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } */ /* #define USE_PIPES 1 */ +#ifdef HAVE_CYGWIN +#define open binary_open +#define pipe binary_pipe +extern int binary_open(); +extern int binary_pipe(); +#endif + #endif /* INCLUDES_H */ |