mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
3f4435d877
commit
47744e0694
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue