preload sounds
[supertux.git] / src / audio / openal_sound_source.hpp
index 75b6ef6..4b03ed6 100644 (file)
@@ -1,4 +1,4 @@
-//  $Id: sound_source.hpp 3462 2006-04-28 19:38:41Z sommer $
+//  $Id$
 //
 //  SuperTux
 //  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
 #ifndef __OPENAL_SOUND_SOURCE_H__
 #define __OPENAL_SOUND_SOURCE_H__
 
+#ifndef MACOSX
 #include <AL/al.h>
+#else
+#include <OpenAL/al.h>
+#endif
+
 #include "math/vector.hpp"
 #include "sound_source.hpp"
 
@@ -45,9 +50,8 @@ public:
 
 protected:
   friend class SoundManager;
-  
+
   ALuint source;
 };
 
 #endif
-