summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
Diffstat (limited to 'missing')
-rw-r--r--missing/flock.c2
-rw-r--r--missing/strftime.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/missing/flock.c b/missing/flock.c
index c828fcc7ad..ed619f0e91 100644
--- a/missing/flock.c
+++ b/missing/flock.c
@@ -122,7 +122,7 @@ flock(fd, operation)
return -1;
}
}
-#elif !defined NT
+#elif !defined _WIN32
int
flock(fd, operation)
int fd;
diff --git a/missing/strftime.c b/missing/strftime.c
index 77c41d5fc5..07d2ed10d9 100644
--- a/missing/strftime.c
+++ b/missing/strftime.c
@@ -53,7 +53,7 @@
#include <string.h>
#include <time.h>
#endif
-#if defined(TM_IN_SYS_TIME) || ! defined(GAWK)
+#if defined(TM_IN_SYS_TIME) || !defined(GAWK) && !defined(_WIN32_WCE)
#include <sys/types.h>
#include <sys/time.h>
#endif