summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-02-02 11:43:58 +0200
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-02-02 11:43:58 +0200
commitb328e880fe6079f02932205a5b70e0d6f6a3f489 (patch)
tree308cac4e393c7ef27a6e54eea7acbbc04c617d4c
parentda6b88692f117537e61e607a831505aa4ef3d770 (diff)
downloadgst-vaapi-b328e880fe6079f02932205a5b70e0d6f6a3f489.tar.gz
Fix compilation error if there is no GL/gl.h header file installed
-rw-r--r--gst/vaapi/gstvaapivideometa_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapivideometa_texture.c b/gst/vaapi/gstvaapivideometa_texture.c
index 1f605378..7a4efdfd 100644
--- a/gst/vaapi/gstvaapivideometa_texture.c
+++ b/gst/vaapi/gstvaapivideometa_texture.c
@@ -25,11 +25,11 @@
*/
#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