1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
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)