From 47744e0694fc510b1efc3dbefb5b54e782757f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Fri, 17 Jan 2020 17:32:05 +0000 Subject: [PATCH] util: explicitly include windows.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The virProcess code relies on windows.h and is getting it indirectly via some GNULIB header fixes. This dependancy needs to be made explicit. Reviewed-by: Pavel Hrdina Signed-off-by: Daniel P. Berrangé --- src/util/virprocess.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/virprocess.c b/src/util/virprocess.c index d5589daf6a..d8ee3142da 100644 --- a/src/util/virprocess.c +++ b/src/util/virprocess.c @@ -50,6 +50,11 @@ # include #endif +#ifdef WIN32 +# define WIN32_LEAN_AND_MEAN +# include +#endif + #include "viratomic.h" #include "virprocess.h" #include "virerror.h"