summaryrefslogtreecommitdiff
path: root/games/fuhquake/files/patch-cl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/fuhquake/files/patch-cl_main.c')
-rw-r--r--games/fuhquake/files/patch-cl_main.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/fuhquake/files/patch-cl_main.c b/games/fuhquake/files/patch-cl_main.c
new file mode 100644
index 000000000000..41914c8ed66e
--- /dev/null
+++ b/games/fuhquake/files/patch-cl_main.c
@@ -0,0 +1,29 @@
+--- cl_main.c.orig Wed May 21 17:18:35 2003
++++ cl_main.c Sun May 25 20:30:58 2003
+@@ -43,6 +43,10 @@
+ #include "mp3_player.h"
+
+ #ifndef _WIN32
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
+ #include <netdb.h>
+ #endif
+
+@@ -857,13 +861,13 @@
+ Key_Init ();
+ V_Init ();
+
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ IN_Init ();
+ #endif
+
+ VID_Init (host_basepal);
+
+-#ifndef __linux__
++#if !(defined(__linux__) || defined(__FreeBSD__))
+ IN_Init ();
+ #endif
+