diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 19:08:16 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 19:08:16 +1000 |
commit | 92350103fcf406d054a698ab2ea34feb4bfff6fc (patch) | |
tree | e3faa6eea711fc59b4c237709c5fb7f9dbe8c446 /openbsd-compat/bsd-cygwin_util.c | |
parent | f676c57958c8e9a743f54a95479db478248d6fd0 (diff) |
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Add headers required to compile
on Cygwin.
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.c')
-rw-r--r-- | openbsd-compat/bsd-cygwin_util.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c index b408dde2..4d31ef3b 100644 --- a/openbsd-compat/bsd-cygwin_util.c +++ b/openbsd-compat/bsd-cygwin_util.c @@ -31,11 +31,16 @@ #ifdef HAVE_CYGWIN -#include <fcntl.h> -#include <stdlib.h> +#include <sys/types.h> +#include <sys/stat.h> #include <sys/utsname.h> #include <sys/vfs.h> + +#include <fcntl.h> +#include <stdlib.h> +#include <unistd.h> #include <windows.h> + #include "xmalloc.h" #define is_winnt (GetVersion() < 0x80000000) |