Alexandre Julliard : ws2_32/tests: Reorder includes so that winsock. h is included before system headers.
Alexandre Julliard
julliard at winehq.org
Wed Jun 16 13:23:20 CDT 2010
Module: wine
Branch: master
Commit: 76efc82860b4d2d53e81370e67207d0a842d5e75
URL: http://source.winehq.org/git/wine.git/?a=commit;h=76efc82860b4d2d53e81370e67207d0a842d5e75
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 15 22:55:48 2010 +0200
ws2_32/tests: Reorder includes so that winsock.h is included before system headers.
---
dlls/ws2_32/tests/sock.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 6356d9f..c405053 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -20,20 +20,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdio.h>
-#include <stdarg.h>
-
-#include "ntstatus.h"
+#include <ntstatus.h>
#define WIN32_NO_STATUS
-#include <windef.h>
-#include <winbase.h>
-#include <winsock2.h>
+#include <windows.h>
#include <ws2tcpip.h>
#include <mswsock.h>
+#include <stdio.h>
#include "wine/test.h"
-#include <winnt.h>
-#include <winerror.h>
-#include <winuser.h>
#define MAX_CLIENTS 4 /* Max number of clients */
#define NUM_TESTS 4 /* Number of tests performed */
More information about the wine-cvs
mailing list