Fix compilation error if there is no GL/gl.h header file installed
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 2 Feb 2015 09:43:58 +0000 (11:43 +0200)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 2 Feb 2015 09:43:58 +0000 (11:43 +0200)
gst/vaapi/gstvaapivideometa_texture.c

index 1f60537..7a4efdf 100644 (file)
  */
 
 #include "gst/vaapi/sysdeps.h"
-#include <GL/gl.h>
 #include "gstvaapivideometa.h"
 #include "gstvaapipluginutil.h"
 
 #if USE_GLX
+#include <GL/gl.h>
 #include <gst/vaapi/gstvaapitexture_glx.h>
 #endif