summaryrefslogtreecommitdiff
path: root/games/fuhquake/files/patch-cl_main.c
blob: 41914c8ed66eb7618ac8ac90ed4ec18eb45a3cf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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