diff options
Diffstat (limited to 'xmlwf/readfilemap.c')
| -rwxr-xr-x | xmlwf/readfilemap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xmlwf/readfilemap.c b/xmlwf/readfilemap.c index bd32b9341471..d816b263aae1 100755 --- a/xmlwf/readfilemap.c +++ b/xmlwf/readfilemap.c @@ -8,16 +8,17 @@ #include <stdlib.h> #include <stdio.h> +/* Functions close(2) and read(2) */ #ifdef __WATCOMC__ #ifndef __LINUX__ #include <io.h> #else #include <unistd.h> #endif -#endif - -#ifdef __BEOS__ -#include <unistd.h> +#else +# if !defined(WIN32) && !defined(_WIN32) && !defined(_WIN64) +# include <unistd.h> +# endif #endif #ifndef S_ISREG |
