slackbuilds_ponce/games/odamex/gcc47.diff
B. Watson 4bd9ab40ea games/odamex: Fix for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-22 11:39:46 -05:00

11 lines
421 B
Diff

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>