win32: include the correct header in cmdutils.c
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 25 Apr 2011 13:30:42 +0000 (15:30 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 25 Apr 2011 19:57:30 +0000 (21:57 +0200)
CommandLineToArgvW requires windows.h, include it directly

cmdutils.c

index f25f61d..d15aba0 100644 (file)
@@ -156,6 +156,7 @@ static const OptionDef* find_option(const OptionDef *po, const char *name){
 }
 
 #if defined(_WIN32) && !defined(__MINGW32CE__)
+#include <windows.h>
 /* Will be leaked on exit */
 static char** win32_argv_utf8 = NULL;
 static int win32_argc = 0;