diff --git a/drivers/ao/audio_driver_ao.cpp b/drivers/ao/audio_driver_ao.cpp index b42e3af6bb9..a484a5882e5 100644 --- a/drivers/ao/audio_driver_ao.cpp +++ b/drivers/ao/audio_driver_ao.cpp @@ -6,6 +6,7 @@ /* http://www.godotengine.org */ /*************************************************************************/ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014 Anton Yabchinskiy. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,6 +29,8 @@ /*************************************************************************/ #include "audio_driver_ao.h" +#ifdef AO_ENABLED + #include "globals.h" #include "os/os.h" @@ -154,3 +157,5 @@ AudioDriverAO::AudioDriverAO() { AudioDriverAO::~AudioDriverAO() { ao_shutdown(); }; + +#endif diff --git a/drivers/ao/audio_driver_ao.h b/drivers/ao/audio_driver_ao.h index b64b8dce9d6..023e051c8b2 100644 --- a/drivers/ao/audio_driver_ao.h +++ b/drivers/ao/audio_driver_ao.h @@ -6,6 +6,7 @@ /* http://www.godotengine.org */ /*************************************************************************/ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014 Anton Yabchinskiy. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */