summaryrefslogtreecommitdiff
path: root/games/cleanq3/files/patch-code-qcommon-common.c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-03-20 15:21:27 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-03-20 15:21:27 +0000
commit65c74465e72745fd72605170157a765c83af61d7 (patch)
treea45eece6f61c5b90a1dbaa2bc5aba772dd75394f /games/cleanq3/files/patch-code-qcommon-common.c
parent- Update to 0.6.6 (diff)
Add CleanQ3, yet another cleaned up copy of the original Quake III Arena
source code. CleanQ3 is a Quake III Arena engine project intended to clean up the original source code, and eliminate bugs. You won't find revolutionary features, just a "better" Quake III. WWW: http://tremor.quakedev.com/cleanq3.html
Diffstat (limited to 'games/cleanq3/files/patch-code-qcommon-common.c')
-rw-r--r--games/cleanq3/files/patch-code-qcommon-common.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/cleanq3/files/patch-code-qcommon-common.c b/games/cleanq3/files/patch-code-qcommon-common.c
new file mode 100644
index 000000000000..9db06e6c63a5
--- /dev/null
+++ b/games/cleanq3/files/patch-code-qcommon-common.c
@@ -0,0 +1,19 @@
+--- code/qcommon/common.c.orig Mon Aug 15 23:10:07 2005
++++ code/qcommon/common.c Wed Nov 23 10:53:29 2005
+@@ -24,15 +24,8 @@
+ #include "../game/q_shared.h"
+ #include "qcommon.h"
+ #include <setjmp.h>
+-#ifdef __linux__
++#include <sys/types.h>
+ #include <netinet/in.h>
+-#else
+-#if defined(MACOS_X)
+-#include <netinet/in.h>
+-#else
+-#include <winsock.h>
+-#endif
+-#endif
+
+ int demo_protocols[] =
+ { 66, 67, 68, 0 };