summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/resources/music.h5
-rw-r--r--src/resources/soundeffect.h4
-rw-r--r--src/sound.h4
3 files changed, 12 insertions, 1 deletions
diff --git a/src/resources/music.h b/src/resources/music.h
index 36da6a61..32b25edf 100644
--- a/src/resources/music.h
+++ b/src/resources/music.h
@@ -23,8 +23,11 @@
#ifndef MUSIC_H
#define MUSIC_H
+#ifdef __APPLE__
+#include <SDL_mixer/SDL_mixer.h>
+#elif
#include <SDL_mixer.h>
-
+#endif
#include "resource.h"
/**
diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h
index e2181767..070a13de 100644
--- a/src/resources/soundeffect.h
+++ b/src/resources/soundeffect.h
@@ -23,7 +23,11 @@
#ifndef SOUND_EFFECT_H
#define SOUND_EFFECT_H
+#ifdef __APPLE__
+#include <SDL_mixer/SDL_mixer.h>
+#elif
#include <SDL_mixer.h>
+#endif
#include "resource.h"
diff --git a/src/sound.h b/src/sound.h
index 53fde14e..14a319c1 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -23,7 +23,11 @@
#ifndef SOUND_H
#define SOUND_H
+#ifdef __APPLE__
+#include <SDL_mixer/SDL_mixer.h>
+#elif
#include <SDL_mixer.h>
+#endif
#include <string>
/** Sound engine