summaryrefslogtreecommitdiffstats
path: root/games/xsokoban/files/patch-externs.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/xsokoban/files/patch-externs.h')
-rw-r--r--games/xsokoban/files/patch-externs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/xsokoban/files/patch-externs.h b/games/xsokoban/files/patch-externs.h
new file mode 100644
index 0000000..b8f1195
--- /dev/null
+++ b/games/xsokoban/files/patch-externs.h
@@ -0,0 +1,14 @@
+*** externs.h.orig Sun Apr 16 07:46:14 1995
+--- externs.h Sat Jan 15 00:00:00 2000
+***************
+*** 5,11 ****
+--- 5,13 ----
+ #include <X11/Xresource.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++ #ifndef __STDC__
+ #include <malloc.h>
++ #endif
+
+ #ifdef NEED_NETINET_IN
+ #include <netinet/in.h>
OpenPOWER on IntegriCloud