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

@@ -22,10 +22,6 @@ GNU General Public License for more details.
#include <SDL.h>
#endif
#ifdef _WIN32
#include "windows.h"
#endif
#include "platform/platform.h"
void* in_mousecursor;

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

View File

@@ -13,7 +13,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
#include <windows.h>
#include "platform/platform.h"
#include "menu_int.h"