summaryrefslogtreecommitdiff
path: root/src/sound
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/allegro_s.cpp2
-rw-r--r--src/sound/cocoa_s.cpp2
-rw-r--r--src/sound/null_s.cpp2
-rw-r--r--src/sound/sdl_s.cpp2
-rw-r--r--src/sound/win32_s.cpp2
5 files changed, 10 insertions, 0 deletions
diff --git a/src/sound/allegro_s.cpp b/src/sound/allegro_s.cpp
index 76a1e1e91..88a723ff8 100644
--- a/src/sound/allegro_s.cpp
+++ b/src/sound/allegro_s.cpp
@@ -18,6 +18,8 @@
#include "allegro_s.h"
#include <allegro.h>
+#include "../safeguards.h"
+
static FSoundDriver_Allegro iFSoundDriver_Allegro;
/** The stream we are writing too */
static AUDIOSTREAM *_stream = NULL;
diff --git a/src/sound/cocoa_s.cpp b/src/sound/cocoa_s.cpp
index 1dc2a25d4..8cf4a632b 100644
--- a/src/sound/cocoa_s.cpp
+++ b/src/sound/cocoa_s.cpp
@@ -30,6 +30,8 @@
#undef Rect
#undef Point
+#include "../safeguards.h"
+
static FSoundDriver_Cocoa iFSoundDriver_Cocoa;
static AudioUnit _outputAudioUnit;
diff --git a/src/sound/null_s.cpp b/src/sound/null_s.cpp
index 953bf5764..3dc95c46f 100644
--- a/src/sound/null_s.cpp
+++ b/src/sound/null_s.cpp
@@ -12,5 +12,7 @@
#include "../stdafx.h"
#include "null_s.h"
+#include "../safeguards.h"
+
/** The factory for the null sound driver. */
static FSoundDriver_Null iFSoundDriver_Null;
diff --git a/src/sound/sdl_s.cpp b/src/sound/sdl_s.cpp
index 7e1c3e993..e3fb99eaa 100644
--- a/src/sound/sdl_s.cpp
+++ b/src/sound/sdl_s.cpp
@@ -18,6 +18,8 @@
#include "sdl_s.h"
#include <SDL.h>
+#include "../safeguards.h"
+
/** Factory for the SDL sound driver. */
static FSoundDriver_SDL iFSoundDriver_SDL;
diff --git a/src/sound/win32_s.cpp b/src/sound/win32_s.cpp
index d241f45c8..0cd632714 100644
--- a/src/sound/win32_s.cpp
+++ b/src/sound/win32_s.cpp
@@ -20,6 +20,8 @@
#include <windows.h>
#include <mmsystem.h>
+#include "../safeguards.h"
+
static FSoundDriver_Win32 iFSoundDriver_Win32;
static HWAVEOUT _waveout;