about summary refs log tree commit diff
path: root/pkgs/games/crafty/malloc.patch
blob: 39b5afe8ddac1895eb9e642e5e18aa1f24fcf8e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/chess.h
+++ b/chess.h
@@ -25,7 +25,7 @@
 #include <assert.h>
 #include <stdlib.h>
 #if !defined(IPHONE)
-#  include <malloc.h>
+#  include <sys/malloc.h>
 #endif
 #include <string.h>
 #if !defined(TYPES_INCLUDED)