summaryrefslogtreecommitdiff
path: root/devel/libhoard/files/patch-heaplayers-wrapper.cpp
blob: 4354780d247e5f51d0f4fd7335c4008a895c1b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- heaplayers/wrapper.cpp.orig	Thu May 24 10:24:34 2007
+++ heaplayers/wrapper.cpp	Thu May 24 10:29:14 2007
@@ -31,7 +31,11 @@
  */
 
 #include <string.h> // for memcpy
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
 #include <malloc.h> // for memalign
+#endif
 
 #ifdef _WIN32
 #define WIN32_LEAN_AND_MEAN