summaryrefslogtreecommitdiff
path: root/games/freecell-solver
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-08-23 05:21:24 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-08-23 05:21:24 +0000
commit068c64e5c42eceab3b909eafc0966e319060a33a (patch)
treebe002e305537f259609de3ee17f802d9fa02b04e /games/freecell-solver
parentRespect CXX and CXXFLAGS, and link with CXX, not gcc. (diff)
<malloc.h> -> <stdlib.h> to fix build on current
Diffstat (limited to 'games/freecell-solver')
-rw-r--r--games/freecell-solver/files/patch-alloc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/freecell-solver/files/patch-alloc.c b/games/freecell-solver/files/patch-alloc.c
new file mode 100644
index 000000000000..86c44ef0b407
--- /dev/null
+++ b/games/freecell-solver/files/patch-alloc.c
@@ -0,0 +1,11 @@
+--- alloc.c.orig Thu Aug 22 22:18:34 2002
++++ alloc.c Thu Aug 22 22:18:24 2002
+@@ -8,7 +8,7 @@
+ * This file is in the public domain (it's uncopyrighted).
+ */
+
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <stdio.h>
+
+ #include "config.h"