diff options
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.h')
-rw-r--r-- | openbsd-compat/bsd-cygwin_util.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h index f9149fd17..5ccb0fba2 100644 --- a/openbsd-compat/bsd-cygwin_util.h +++ b/openbsd-compat/bsd-cygwin_util.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: bsd-cygwin_util.h,v 1.9 2003/08/07 06:23:43 dtucker Exp $ */ | 1 | /* $Id: bsd-cygwin_util.h,v 1.10 2003/08/07 06:28:16 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com> | 4 | * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com> |
@@ -34,6 +34,11 @@ | |||
34 | 34 | ||
35 | #ifdef HAVE_CYGWIN | 35 | #ifdef HAVE_CYGWIN |
36 | 36 | ||
37 | #undef ERROR | ||
38 | #define is_winnt (GetVersion() < 0x80000000) | ||
39 | |||
40 | #include <windows.h> | ||
41 | #include <sys/cygwin.h> | ||
37 | #include <io.h> | 42 | #include <io.h> |
38 | 43 | ||
39 | int binary_open(const char *, int , ...); | 44 | int binary_open(const char *, int , ...); |