opnsense-ports/audio/linuxsampler/files/patch-src-drivers-audio-AudioChannel.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
427 B
C++

--- src/drivers/audio/AudioChannel.cpp.orig 2007-11-15 00:42:05.000000000 +0100
+++ src/drivers/audio/AudioChannel.cpp 2008-11-16 01:55:40.000000000 +0100
@@ -26,7 +26,7 @@
#include "../../common/global_private.h"
#include "../../common/Thread.h" // needed for allocAlignedMem() and freeAlignedMem()
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FreeBSD__)
# include <stdlib.h>
#else
# include <malloc.h>