summaryrefslogtreecommitdiff
path: root/games/cleanq3/files/patch-code-qcommon-common.c
blob: 9fe202355cd96075a332400f357a4b7774dbc661 (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
--- ./code/qcommon/common.c.orig	Wed May 31 20:52:07 2006
+++ ./code/qcommon/common.c	Wed May 31 20:52:09 2006
@@ -24,15 +24,8 @@
 #include "../game/q_shared.h"
 #include "qcommon.h"
 #include <setjmp.h>
-#ifdef __linux__
-#include <netinet/in.h>
-#else
-#if defined(MACOS_X)
+#include <sys/types.h>
 #include <netinet/in.h>
-#else
-#include <winsock.h>
-#endif
-#endif
 
 int demo_protocols[] =
 { 66, 67, 68, 0 };
@@ -2367,7 +2360,7 @@
 	// cvar and command buffer management
 	Com_ParseCommandLine( commandLine );
 
-//	Swap_Init ();
+	Swap_Init ();
 	Cbuf_Init ();
 
 	Com_InitZoneMemory();