summaryrefslogtreecommitdiff
path: root/science/2dhf/files/patch-src+fmalloc.c
blob: a051ab0935250708d2e1cb91157ae2591872b107 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/fmalloc.c.orig	Thu Jul 24 17:32:52 2003
+++ src/fmalloc.c	Thu Jul 24 17:33:22 2003
@@ -15,7 +15,11 @@
 
 #include <stdio.h>
 #include <sys/types.h>
+#ifdef __FreeBSD__ 
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
 
 /*
       bv:     is an integer to contain the address to the reserved