From daa4176ebff30bd2648955adfea309e248c334e5 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 24 Jan 2013 12:35:08 -0500 Subject: [PATCH] BUILD: Use proper OpenAL includes on OS X --- configure.ac | 2 +- src/sound/sound.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index dd4b5dcd71..0a5b87187d 100644 --- a/configure.ac +++ b/configure.ac @@ -178,7 +178,7 @@ case "$target" in *darwin*) dnl TODO: Eventually add a test for OS X for OpenAL - AL_CFLAGS="-I/System/Library/Frameworks/OpenAL.framework/Headers" + AL_CFLAGS="" AL_LIBS="-framework OpenAL" ;; *) diff --git a/src/sound/sound.h b/src/sound/sound.h index 8abbc20d49..5c8a8752c3 100644 --- a/src/sound/sound.h +++ b/src/sound/sound.h @@ -33,8 +33,8 @@ // Mac OS X has to have this set up separately because of the include // path for the OpenAL framework. #ifdef MACOSX - #include - #include + #include + #include #else #include #include