summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-cygwin_util.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c
index b408dde2d..4d31ef3b5 100644
--- a/openbsd-compat/bsd-cygwin_util.c
+++ b/openbsd-compat/bsd-cygwin_util.c
@@ -31,11 +31,16 @@
31 31
32#ifdef HAVE_CYGWIN 32#ifdef HAVE_CYGWIN
33 33
34#include <fcntl.h> 34#include <sys/types.h>
35#include <stdlib.h> 35#include <sys/stat.h>
36#include <sys/utsname.h> 36#include <sys/utsname.h>
37#include <sys/vfs.h> 37#include <sys/vfs.h>
38
39#include <fcntl.h>
40#include <stdlib.h>
41#include <unistd.h>
38#include <windows.h> 42#include <windows.h>
43
39#include "xmalloc.h" 44#include "xmalloc.h"
40#define is_winnt (GetVersion() < 0x80000000) 45#define is_winnt (GetVersion() < 0x80000000)
41 46