Alexandre Julliard : rpcrt4: Include ntstatus.h before headers that may need it.
Alexandre Julliard
julliard at winehq.org
Thu Nov 3 14:26:20 CDT 2016
Module: wine
Branch: master
Commit: 38b57b30fe2b0a0c7d5eb0e0f2222b1dec824167
URL: http://source.winehq.org/git/wine.git/?a=commit;h=38b57b30fe2b0a0c7d5eb0e0f2222b1dec824167
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 3 18:06:22 2016 +0100
rpcrt4: Include ntstatus.h before headers that may need it.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/rpcrt4/rpc_transport.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 67a0220..2537a3f 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -33,6 +33,9 @@
#include <stdlib.h>
#include <sys/types.h>
+#include "ntstatus.h"
+#define WIN32_NO_STATUS
+
#if defined(__MINGW32__) || defined (_MSC_VER)
# include <ws2tcpip.h>
# ifndef EADDRINUSE
@@ -77,8 +80,6 @@
# define ioctlsocket ioctl
#endif /* defined(__MINGW32__) || defined (_MSC_VER) */
-#include "ntstatus.h"
-#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
More information about the wine-cvs
mailing list