opnsense-ports/audio/linuxsampler/files/patch-src_drivers_audio_AudioChannel.cpp
Franco Fichtner 65a742671f */*: sync with upstream
Taken from: FreeBSD
2016-12-18 10:25:29 +01:00

11 lines
405 B
C++

--- src/drivers/audio/AudioChannel.cpp.orig 2009-07-04 12:13:58 UTC
+++ src/drivers/audio/AudioChannel.cpp
@@ -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__) || defined(__DragonFly__)
# include <stdlib.h>
#else
# include <malloc.h>