engine: don't include windows headers, as they globally included by port.h already

This commit is contained in:
Alibek Omarov
2019-08-09 02:46:29 +03:00
parent 505392c2f8
commit 8bb6aa2c51
5 changed files with 8 additions and 23 deletions

View File

@@ -17,9 +17,7 @@ GNU General Public License for more details.
#include "miniz.h"
#include "imagelib.h"
#include "mathlib.h"
#ifdef _WIN32
#include <winsock2.h>
#else
#ifndef _WIN32
#include <netinet/in.h>
#endif

View File

@@ -19,7 +19,6 @@ GNU General Public License for more details.
#include "mathlib.h"
#ifdef _WIN32
// Winsock
#include <winsock2.h>
#include <WS2tcpip.h>
#else
// BSD sockets