summaryrefslogtreecommitdiffstats
path: root/games/spider/files/patch-globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/spider/files/patch-globals.h')
-rw-r--r--games/spider/files/patch-globals.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/spider/files/patch-globals.h b/games/spider/files/patch-globals.h
new file mode 100644
index 0000000..203be24
--- /dev/null
+++ b/games/spider/files/patch-globals.h
@@ -0,0 +1,13 @@
+--- globals.h.orig 1991-09-28 17:46:20.000000000 +0000
++++ globals.h 2011-07-01 03:25:27.000000000 +0000
+@@ -96,6 +96,10 @@
+ Bool can_get_help_files();
+ #endif
+
++#ifndef __FreeBSD__
+ extern char *malloc();
+ extern char *calloc();
+ extern char *realloc();
++#else
++#include <stdlib.h>
++#endif
OpenPOWER on IntegriCloud