3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/crafty/malloc.patch

12 lines
219 B
Diff
Raw Normal View History

--- 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)