Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
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
{