From 9ce3a1e6aa40713db5dd11aba3595fb0ad75cc60 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 18 May 2008 11:41:21 +0000 Subject: win32 build updates --- src/audio/audio.cc | 3 --- src/audio/audio.h | 7 +++++++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src/audio') diff --git a/src/audio/audio.cc b/src/audio/audio.cc index 063a079..3bd3c62 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -4,9 +4,6 @@ the terms of the GNU General Public License version 2 */ -#include "AL/al.h" -#include "AL/alc.h" - #include "audio/audio.h" #include "audio/buffers.h" #include "audio/pcm.h" diff --git a/src/audio/audio.h b/src/audio/audio.h index 92b8786..bf97a4a 100644 --- a/src/audio/audio.h +++ b/src/audio/audio.h @@ -7,6 +7,13 @@ #ifndef __INCLUDED_AUDIO_AUDIO_H__ #define __INCLUDED_AUDIO_AUDIO_H__ +#ifdef _WIN32 +#include +#endif + +#include "AL/al.h" +#include "AL/alc.h" + /// functions to handle audio namespace audio { -- cgit v1.2.3