summaryrefslogtreecommitdiff
path: root/science/2dhf/files/patch-src+fmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'science/2dhf/files/patch-src+fmalloc.c')
-rw-r--r--science/2dhf/files/patch-src+fmalloc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/science/2dhf/files/patch-src+fmalloc.c b/science/2dhf/files/patch-src+fmalloc.c
new file mode 100644
index 000000000000..a051ab093525
--- /dev/null
+++ b/science/2dhf/files/patch-src+fmalloc.c
@@ -0,0 +1,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