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 23:02:24 +0000 (20:02 -0300)
Pre-processor check changed by commiter.

Signed-off-by: James Almer <jamrial@gmail.com>
cmdutils.c

index 380ca1b..bc57be7 100644 (file)
@@ -60,6 +60,9 @@
 #include <sys/time.h>
 #include <sys/resource.h>
 #endif
+#if HAVE_SETDLLDIRECTORY
+#include <windows.h>
+#endif
 
 static int init_report(const char *env);