aboutsummaryrefslogtreecommitdiffstats
path: root/games/ssc/files/patch-support-ode-0.039-configurator.c
blob: a2079c52222947ef5bbda3c0ba7bbdc90ee09189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- support/ode-0.039/configurator.c.orig   Sat Jan 17 16:34:29 2004
+++ support/ode-0.039/configurator.c    Sat Jan 17 16:35:46 2004
@@ -249,7 +249,11 @@
 #define NUM_HEADERS 8
 char *header_files[NUM_HEADERS] = {
   "stdio.h", "stdlib.h", "math.h", "string.h",
-  "stdarg.h", "malloc.h", "alloca.h",
+  "stdarg.h",
+#ifndef __FreeBSD__ 
+  "malloc.h",
+#endif
+  "alloca.h",
   "ieeefp.h"       // Solaris needs this apparently
 };
 int header_used[NUM_HEADERS];