mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
3be6176466
Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13162
12 lines
405 B
C++
12 lines
405 B
C++
--- src/drivers/audio/AudioChannel.cpp.orig 2012-10-04 18:16:26 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>
|