mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
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
Block a user