util: explicitly include windows.h

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 <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-01-17 17:32:05 +00:00
parent 3f4435d877
commit 47744e0694
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@
# include <sys/cpuset.h>
#endif
#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#endif
#include "viratomic.h"
#include "virprocess.h"
#include "virerror.h"