summarylogtreecommitdiffstats
path: root/fix-libsndfile-error.patch
blob: ceacc8f03a5bc902769302c39cc3c418e5b2f62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp b/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
index 71caf42d8..39146d7d6 100644
--- a/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
+++ b/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
@@ -7,7 +7,6 @@
 #include "glm/common.hpp"
 #include "ofLog.h"
 #include "ofEvents.h"
-#include <sndfile.h>
 
 #if defined (TARGET_OF_IOS) || defined (TARGET_OSX)
 #include <OpenAL/al.h>
diff --git a/libs/openFrameworks/sound/ofOpenALSoundPlayer.h b/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
index 042f7b354..80df4f90c 100644
--- a/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
+++ b/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
@@ -12,10 +12,7 @@ typedef unsigned int ALuint;
 
 #include "kiss_fft.h"
 #include "kiss_fftr.h"
-
-
-
-typedef	struct SNDFILE_tag	SNDFILE ;
+#include <sndfile.h>
 
 
 #ifdef OF_USING_MPG123