summaryrefslogtreecommitdiff
path: root/games/acm/files/patch-07
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2001-11-24 14:11:09 +0000
committerStefan Eßer <se@FreeBSD.org>2001-11-24 14:11:09 +0000
commit1542d3daa957ac684b6b1be6fcd09dabcff4fc75 (patch)
treefd0c54b97ac4d14313552d716ff7ddbdcc62376a /games/acm/files/patch-07
parentupgrade to 4.1.0 (diff)
Use stdlib.h instead of malloc.h, which is deprecated.
Notes
Notes: svn path=/head/; revision=50475
Diffstat (limited to 'games/acm/files/patch-07')
-rw-r--r--games/acm/files/patch-0714
1 files changed, 14 insertions, 0 deletions
diff --git a/games/acm/files/patch-07 b/games/acm/files/patch-07
new file mode 100644
index 000000000000..47a96da07835
--- /dev/null
+++ b/games/acm/files/patch-07
@@ -0,0 +1,14 @@
+--- dis/server/sites.c~ Sat Nov 24 14:46:24 2001
++++ dis/server/sites.c Sat Nov 24 14:46:03 2001
+@@ -27,7 +27,11 @@
+ * README file.
+ */
+ #include <server.h>
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #ifdef HAVE_NDBM
+ #include <ndbm.h>