aboutsummaryrefslogtreecommitdiff
path: root/games/d2x/files/patch-mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/d2x/files/patch-mem.c')
-rw-r--r--games/d2x/files/patch-mem.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/d2x/files/patch-mem.c b/games/d2x/files/patch-mem.c
new file mode 100644
index 000000000000..37ee9d084202
--- /dev/null
+++ b/games/d2x/files/patch-mem.c
@@ -0,0 +1,14 @@
+--- mem/mem.c.orig Mon Apr 5 15:37:36 2004
++++ mem/mem.c Mon Apr 5 15:38:11 2004
+@@ -34,11 +34,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#if defined(__APPLE__) && defined(__MACH__)
+-#include <sys/malloc.h>
+-#else
+-#include <malloc.h>
+-#endif
+ #include "pstypes.h"
+ #include "mono.h"
+ #include "error.h"