diff options
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r-- | lib/Handle.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 07a2752..1941254 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -4,9 +4,12 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#ifdef HAVE_FCNTL_H -#include <fcntl.h> +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#else +#include <io.h> #endif +#include <fcntl.h> #include "Handle.h" #include "gettext.h" |