cmdutils: fix implicit declaration of SetDllDirectory function
authorTobias Rapp <t.rapp@noa-archive.com>
Mon, 29 Aug 2016 13:25:58 +0000 (15:25 +0200)
committerJames Almer <jamrial@gmail.com>
Mon, 29 Aug 2016 22:52:39 +0000 (19:52 -0300)
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: James Almer <jamrial@gmail.com>
cmdutils.c

index 6960f8c..44f44cd 100644 (file)
@@ -61,6 +61,9 @@
 #include <sys/time.h>
 #include <sys/resource.h>
 #endif
+#ifdef _WIN32
+#include <windows.h>
+#endif
 
 static int init_report(const char *env);