win32: Include ntdef.h for NTSTATUS

https://bugzilla.gnome.org/show_bug.cgi?id=756875
This commit is contained in:
Sebastian Dröge 2015-10-20 17:36:33 +03:00
parent ad0f340c27
commit 975cb91085

View File

@ -51,6 +51,10 @@
#define MODERN_API_FAMILY 2 #define MODERN_API_FAMILY 2
#if WINAPI_FAMILY != MODERN_API_FAMILY
# include <ntdef.h>
#endif
#if WINAPI_FAMILY == MODERN_API_FAMILY #if WINAPI_FAMILY == MODERN_API_FAMILY
/* This is for modern UI Builds, where we can't use LoadLibraryW()/GetProcAddress() */ /* This is for modern UI Builds, where we can't use LoadLibraryW()/GetProcAddress() */
/* ntddk.h is found in the WDK, and MinGW */ /* ntddk.h is found in the WDK, and MinGW */