[Orxonox-commit 3263] r7954 - code/trunk/src/external/enet
rgrieder at orxonox.net
rgrieder at orxonox.net
Thu Feb 24 07:35:29 CET 2011
Author: rgrieder
Date: 2011-02-24 07:35:28 +0100 (Thu, 24 Feb 2011)
New Revision: 7954
Modified:
code/trunk/src/external/enet/win32.c
code/trunk/src/external/enet/win32.h
Log:
Resolved ENet and windows header include problem for good.
Modified: code/trunk/src/external/enet/win32.c
===================================================================
--- code/trunk/src/external/enet/win32.c 2011-02-24 05:22:10 UTC (rev 7953)
+++ code/trunk/src/external/enet/win32.c 2011-02-24 06:35:28 UTC (rev 7954)
@@ -7,6 +7,7 @@
#define _WIN32_WINNT 0x0501
#include <time.h>
+#include <ws2tcpip.h>
#define ENET_BUILDING_LIB 1
#include "enet/enet.h"
Modified: code/trunk/src/external/enet/win32.h
===================================================================
--- code/trunk/src/external/enet/win32.h 2011-02-24 05:22:10 UTC (rev 7953)
+++ code/trunk/src/external/enet/win32.h 2011-02-24 06:35:28 UTC (rev 7954)
@@ -14,7 +14,6 @@
#include <stdlib.h>
#include <winsock2.h>
-#include <ws2tcpip.h>
typedef SOCKET ENetSocket;
More information about the Orxonox-commit
mailing list