mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
portx64: fixed linux build
This commit is contained in:
1 parent
e09aebebe7
commit
2c4d3e7768
1 file changed
+8
@@ -6,11 +6,19 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef PLATFORM_WIN32
|
||||
|
||||
#include <winsock2.h>
|
||||
// this BS comes from windows.h
|
||||
#undef near
|
||||
#undef far
|
||||
|
||||
#else
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
Reference in new issue
Block a user