[vlc-commits] glspectrum: Fixed include bug so that it works correctly on OS X
Odd-Arild Kristensen
git at videolan.org
Fri Jan 22 20:17:18 CET 2016
vlc | branch: master | Odd-Arild Kristensen <oddarildkristensen at gmail.com> | Thu Jan 21 12:56:06 2016 -0500| [2a67f19f84cce57b761db9ab3135dd704f63fe15] | committer: Felix Paul Kühne
glspectrum: Fixed include bug so that it works correctly on OS X
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a67f19f84cce57b761db9ab3135dd704f63fe15
---
modules/visualization/glspectrum.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/visualization/glspectrum.c b/modules/visualization/glspectrum.c
index 8efdb8f..debe9cc 100644
--- a/modules/visualization/glspectrum.c
+++ b/modules/visualization/glspectrum.c
@@ -34,7 +34,11 @@
#include <vlc_filter.h>
#include <vlc_rand.h>
-#include <GL/gl.h>
+#ifdef __APPLE__
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
#include <math.h>
More information about the vlc-commits
mailing list