summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/handle.c')
-rw-r--r--Utilities/cmtar/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmtar/handle.c b/Utilities/cmtar/handle.c
index 4b9a169..de324cb 100644
--- a/Utilities/cmtar/handle.c
+++ b/Utilities/cmtar/handle.c
@@ -24,7 +24,7 @@
# include <stdlib.h>
#endif
-#ifdef _MSC_VER
+#if defined ( _MSC_VER) || defined(__WATCOMC__)
#include <io.h>
//Yogi: hack. this should work on windows where there is no O_ACCMODE defined
#ifndef O_ACCMODE