Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-18 11:41:21 +0000
committerStijn Buys <ingar@osirion.org>2008-05-18 11:41:21 +0000
commit9ce3a1e6aa40713db5dd11aba3595fb0ad75cc60 (patch)
treec076f8814be2ab2051de1ed13e948e85dd81c578 /src/audio
parent4a2bad92171ff8a9a248599f47087cfe39e93653 (diff)
win32 build updates
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/audio.cc3
-rw-r--r--src/audio/audio.h7
2 files changed, 7 insertions, 3 deletions
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 <windows.h>
+#endif
+
+#include "AL/al.h"
+#include "AL/alc.h"
+
/// functions to handle audio
namespace audio
{