summaryrefslogtreecommitdiff
path: root/getgbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getgbook.c')
-rw-r--r--getgbook.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/getgbook.c b/getgbook.c
index 54a2d10..58150cb 100644
--- a/getgbook.c
+++ b/getgbook.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 "getgbook " VERSION " - a google books downloader\n" \