portx64: fixed linux build

This commit is contained in:
Raf committed 2024-08-09 05:02:27 +08:00
1 parent e09aebebe7
commit 2c4d3e7768
1 file changed
+8
+8
View File
@@ -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>