From bac2d8aa5e642a70045e713853b13d020b9c5d57 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 5 Sep 2000 16:13:06 +1100 Subject: - (djm) Merge cygwin support from Corinna Vinschen --- includes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'includes.h') diff --git a/includes.h b/includes.h index 5102c97a..27569e18 100644 --- a/includes.h +++ b/includes.h @@ -29,7 +29,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include #include +#ifndef HAVE_CYGWIN #include +#endif #include #include @@ -46,6 +48,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include #include #include +#ifdef HAVE_CYGWIN +#include +#endif #ifdef HAVE_BSTRING_H # include @@ -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 */ -- cgit v1.2.3