diff --git a/src/os/win32/sigar_os.h b/src/os/win32/sigar_os.h index d70a777c..861ff26e 100644 --- a/src/os/win32/sigar_os.h +++ b/src/os/win32/sigar_os.h @@ -173,6 +173,10 @@ typedef enum { SC_STATUS_PROCESS_INFO = 0 } SC_STATUS_TYPE; +#ifndef ERROR_DATATYPE_MISMATCH +#define ERROR_DATATYPE_MISMATCH 1629L +#endif + #endif /* _MSC_VER */ #include diff --git a/src/os/win32/wmi.cpp b/src/os/win32/wmi.cpp index d98df536..a816bbd9 100644 --- a/src/os/win32/wmi.cpp +++ b/src/os/win32/wmi.cpp @@ -22,8 +22,8 @@ #include #include -#include #include +#include #include "sigar.h" #pragma comment(lib, "wbemuuid.lib")