zdoom-macos-deps/patch/samplerate.patch
2020-12-16 11:02:03 +02:00

11 lines
303 B
Diff

--- a/examples/audio_out.c
+++ b/examples/audio_out.c
@@ -432,7 +432,7 @@
#if (defined (__MACH__) && defined (__APPLE__)) /* MacOSX */
-#include <Carbon.h>
+#include <Carbon/Carbon.h>
#include <CoreAudio/AudioHardware.h>
#define MACOSX_MAGIC MAKE_MAGIC ('M', 'a', 'c', ' ', 'O', 'S', ' ', 'X')