1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/games/crafty/malloc.patch
2014-05-27 12:57:50 -05:00

12 lines
219 B
Diff

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