summaryrefslogtreecommitdiff
path: root/science/afni/files/patch-machdep.c
blob: 601c7fafbc39560f2a1ccbf3a5f88a8d6278afa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- machdep.c.orig	2020-04-18 13:02:47 UTC
+++ machdep.c
@@ -2,7 +2,11 @@
 #include "mrilib.h"
 
 #ifndef DARWIN
-# include <malloc.h>
+# ifdef __FreeBSD__
+#  include <stdlib.h>
+# else
+#  include <malloc.h>
+# endif
 #endif
 
 #include <unistd.h>