diff options
Diffstat (limited to 'src/common/text.c')
-rw-r--r-- | src/common/text.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c index f8f08767..133facd1 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -25,7 +25,9 @@ #include <fcntl.h> #include <sys/stat.h> -#ifndef WIN32 +#ifdef WIN32 +#include <io.h> +#else #include <unistd.h> #include <sys/mman.h> #endif |