summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getabook.c')
-rw-r--r--getabook.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/getabook.c b/getabook.c
index f575469..0bcce3c 100644
--- a/getabook.c
+++ b/getabook.c
@@ -5,6 +5,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
+#indef WINVER
+#define mkdir(D, M) _mkdir(D)
+#endif
#include "util.h"
#define usage "getabook " VERSION " - an amazon look inside the book downloader\n" \