summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenAL/Test/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindOpenAL/Test/main.cxx')
-rw-r--r--Tests/FindOpenAL/Test/main.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/Tests/FindOpenAL/Test/main.cxx b/Tests/FindOpenAL/Test/main.cxx
index bb45faf..1396c60 100644
--- a/Tests/FindOpenAL/Test/main.cxx
+++ b/Tests/FindOpenAL/Test/main.cxx
@@ -1,5 +1,10 @@
-#include <AL/al.h>
-#include <AL/alc.h>
+#ifdef __APPLE__
+# include "OpenAL/al.h"
+# include "OpenAL/alc.h"
+#else
+# include <AL/al.h>
+# include <AL/alc.h>
+#endif
#include <stdio.h>
int main()