summaryrefslogtreecommitdiff
path: root/games/odamex/gcc47.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/odamex/gcc47.diff')
-rw-r--r--games/odamex/gcc47.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/odamex/gcc47.diff b/games/odamex/gcc47.diff
new file mode 100644
index 0000000000..880f5426b5
--- /dev/null
+++ b/games/odamex/gcc47.diff
@@ -0,0 +1,11 @@
+diff -Naur odamex-src-0.5.6/odalpapi/net_io.cpp odamex-src-0.5.6.patched/odalpapi/net_io.cpp
+--- odamex-src-0.5.6/odalpapi/net_io.cpp 2011-11-04 23:59:42.000000000 -0400
++++ odamex-src-0.5.6.patched/odalpapi/net_io.cpp 2012-09-20 02:19:30.000000000 -0400
+@@ -27,6 +27,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <cstdio>
++#include <unistd.h>
+ #include <cstdlib>
+ #include <cstring>
+ #include <cstdarg>