summaryrefslogtreecommitdiff
path: root/devel/libhoard/files/patch-heaplayers-wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libhoard/files/patch-heaplayers-wrapper.cpp')
-rw-r--r--devel/libhoard/files/patch-heaplayers-wrapper.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/libhoard/files/patch-heaplayers-wrapper.cpp b/devel/libhoard/files/patch-heaplayers-wrapper.cpp
new file mode 100644
index 000000000000..4354780d247e
--- /dev/null
+++ b/devel/libhoard/files/patch-heaplayers-wrapper.cpp
@@ -0,0 +1,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