From ba9327ea65310d9e15acb5791980a7d766c9f986 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Mon, 25 Apr 2011 15:30:42 +0200
Subject: [PATCH] win32: include the correct header in cmdutils.c

CommandLineToArgvW requires windows.h, include it directly
---
 cmdutils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmdutils.c b/cmdutils.c
index f25f61d4e51..d15aba0635d 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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;
-- 
GitLab