]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/constants.cpp
Include the matching header first in .cpp files
[libs/net.git] / source / net / constants.cpp
index e57897dcffa784eefef2fa6e9610e274a3339964..4de22b42cdb44919857ed12dbe76102fd67bd5a6 100644 (file)
@@ -1,10 +1,6 @@
-#include <stdexcept>
-#ifdef WIN32
-#include <winsock2.h>
-#else
-#include <sys/socket.h>
-#endif
+#include "platform_api.h"
 #include "constants.h"
+#include <stdexcept>
 
 using namespace std;