summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 6cc7cc5..d8f0bbd 100644
--- a/src/util.c
+++ b/src/util.c
@@ -29,7 +29,9 @@
#include <string.h>
#ifdef _WIN32
+#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0600 /* for CreateSymbolicLink */
+#endif
# include <windows.h>
# include <direct.h>
# include <io.h>