[vlc-devel] [PATCH] Fixed include bug so that it works correctly on OS X
Odd-Arild Kristensen
oddarildkristensen at gmail.com
Thu Jan 21 18:56:06 CET 2016
---
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>
--
2.2.0
More information about the vlc-devel
mailing list