summaryrefslogtreecommitdiff
path: root/getbnbook.c
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-11-24 23:06:28 +0000
committerNick White <git@njw.me.uk>2011-11-24 23:06:28 +0000
commit0665087c8152a42a8aab8344655a85f68c865c5a (patch)
tree90b4d85b72f7ba312d8ad1339945982b61e0943d /getbnbook.c
parente611c0f87ded7482de91fa3fe6a51139293fb2a5 (diff)
Make buildable on windows again
Diffstat (limited to 'getbnbook.c')
-rw-r--r--getbnbook.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/getbnbook.c b/getbnbook.c
index 806b2e8..2de46a9 100644
--- a/getbnbook.c
+++ b/getbnbook.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 "getbnbook " VERSION " - a barnes and noble book downloader\n" \