mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 21:31:46 +08:00
engine: don't include windows headers, as they globally included by port.h already
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user