# include <simgear_config.h>
#endif
- #if defined( __APPLE__ )
- # define AL_ILLEGAL_ENUM AL_INVALID_ENUM
- # define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
- # include <OpenAL/al.h>
- # include <OpenAL/alut.h>
- #else
- # include <AL/al.h>
- # include <AL/alut.h>
- #endif
+ #include <stdlib.h> // rand()
#include <simgear/debug/logstream.hxx>
- #include <simgear/misc/sg_path.hxx>
#include <simgear/structure/exception.hxx>
-#include <simgear/math/SGQuat.hxx>
+ #include <simgear/misc/sg_path.hxx>
++#include <simgear/math/SGMath.hxx>
+ #include "soundmgr_openal.hxx"
#include "sample_openal.hxx"