Commit 38b57b30 authored by Alexandre Julliard's avatar Alexandre Julliard

rpcrt4: Include ntstatus.h before headers that may need it.

parent ede761b1
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#if defined(__MINGW32__) || defined (_MSC_VER) #if defined(__MINGW32__) || defined (_MSC_VER)
# include <ws2tcpip.h> # include <ws2tcpip.h>
# ifndef EADDRINUSE # ifndef EADDRINUSE
...@@ -77,8 +80,6 @@ ...@@ -77,8 +80,6 @@
# define ioctlsocket ioctl # define ioctlsocket ioctl
#endif /* defined(__MINGW32__) || defined (_MSC_VER) */ #endif /* defined(__MINGW32__) || defined (_MSC_VER) */
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winnls.h" #include "winnls.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment