diff options
Diffstat (limited to 'tar/bsdtar_windows.h')
-rw-r--r-- | tar/bsdtar_windows.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tar/bsdtar_windows.h b/tar/bsdtar_windows.h index f0611d79abdc..308ad1107bef 100644 --- a/tar/bsdtar_windows.h +++ b/tar/bsdtar_windows.h @@ -29,12 +29,16 @@ #define BSDTAR_WINDOWS_H 1 #include <direct.h> #include <windows.h> +#include <io.h> +#include <fcntl.h> #ifndef PRId64 #define PRId64 "I64" #endif #define geteuid() 0 +#ifndef __WATCOMC__ + #ifndef S_IFIFO #define S_IFIFO 0010000 /* pipe */ #endif @@ -57,4 +61,6 @@ int __tar_chdir(const char *); #define S_ISBLK(a) (0) #endif +#endif + #endif /* BSDTAR_WINDOWS_H */ |