aboutsummaryrefslogtreecommitdiff
path: root/games/crafty/files/patch-chess.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/crafty/files/patch-chess.h')
-rw-r--r--games/crafty/files/patch-chess.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/crafty/files/patch-chess.h b/games/crafty/files/patch-chess.h
index 073779471229..5493afceab25 100644
--- a/games/crafty/files/patch-chess.h
+++ b/games/crafty/files/patch-chess.h
@@ -1,10 +1,11 @@
---- chess.h.orig 2010-01-24 12:22:38.000000000 +0100
-+++ chess.h 2010-01-24 12:22:45.000000000 +0100
-@@ -23,7 +23,6 @@
+--- ./chess.h.orig 2010-08-11 11:20:40.000000000 +0200
++++ ./chess.h 2010-08-11 11:20:49.000000000 +0200
+@@ -24,7 +24,7 @@
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
--#include <malloc.h>
+-#if !defined(IPHONE)
++#if !defined(IPHONE) && !defined(__FreeBSD__)
+ # include <malloc.h>
+ #endif
#include <string.h>
- #if !defined(TYPES_INCLUDED)
- # include "lock.h"