diff options
author | Stefan Eßer <se@FreeBSD.org> | 2001-11-24 14:11:09 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2001-11-24 14:11:09 +0000 |
commit | 1542d3daa957ac684b6b1be6fcd09dabcff4fc75 (patch) | |
tree | fd0c54b97ac4d14313552d716ff7ddbdcc62376a /games/acm/files/patch-07 | |
parent | upgrade 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-07 | 14 |
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> |