2006-07-23 20:56:26 +02:00
|
|
|
--- ./code/qcommon/common.c.orig Wed May 31 20:52:07 2006
|
|
|
|
+++ ./code/qcommon/common.c Wed May 31 20:52:09 2006
|
2006-03-20 16:21:27 +01:00
|
|
|
@@ -24,15 +24,8 @@
|
|
|
|
#include "../game/q_shared.h"
|
|
|
|
#include "qcommon.h"
|
|
|
|
#include <setjmp.h>
|
|
|
|
-#ifdef __linux__
|
2006-07-23 20:56:26 +02:00
|
|
|
-#include <netinet/in.h>
|
2006-03-20 16:21:27 +01:00
|
|
|
-#else
|
|
|
|
-#if defined(MACOS_X)
|
2006-07-23 20:56:26 +02:00
|
|
|
+#include <sys/types.h>
|
|
|
|
#include <netinet/in.h>
|
2006-03-20 16:21:27 +01:00
|
|
|
-#else
|
|
|
|
-#include <winsock.h>
|
|
|
|
-#endif
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
int demo_protocols[] =
|
|
|
|
{ 66, 67, 68, 0 };
|
2006-07-23 20:56:26 +02:00
|
|
|
@@ -2367,7 +2360,7 @@
|
|
|
|
// cvar and command buffer management
|
|
|
|
Com_ParseCommandLine( commandLine );
|
|
|
|
|
|
|
|
-// Swap_Init ();
|
|
|
|
+ Swap_Init ();
|
|
|
|
Cbuf_Init ();
|
|
|
|
|
|
|
|
Com_InitZoneMemory();
|