From 63c582d6853596c86b14a7e7038c6c102ec069ab Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 28 Aug 2017 12:56:34 +1000 Subject: [PATCH] gl: fix build for ios/win32/android after 2fd84a6c Some missing GL includes. --- gst-libs/gst/gl/gstglcontext.c | 1 + gst-libs/gst/gl/win32/gstglcontext_wgl.c | 4 ++-- sys/applemedia/iosglmemory.h | 1 + sys/applemedia/videotexturecache.h | 2 +- sys/applemedia/videotexturecache.m | 1 - 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index 0d7a5326c4..11967e9d29 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -41,6 +41,7 @@ #endif #include "gstglcontext.h" +#include #include #include diff --git a/gst-libs/gst/gl/win32/gstglcontext_wgl.c b/gst-libs/gst/gl/win32/gstglcontext_wgl.c index 0c745adc56..47b576c0b7 100644 --- a/gst-libs/gst/gl/win32/gstglcontext_wgl.c +++ b/gst-libs/gst/gl/win32/gstglcontext_wgl.c @@ -25,8 +25,8 @@ #include -#include "../gstgl_fwd.h" -#include +#include +#include #include "gstglcontext_wgl.h" #include diff --git a/sys/applemedia/iosglmemory.h b/sys/applemedia/iosglmemory.h index ec1035dd54..089bdc6a6b 100644 --- a/sys/applemedia/iosglmemory.h +++ b/sys/applemedia/iosglmemory.h @@ -25,6 +25,7 @@ #include #include #include +#include #include "corevideomemory.h" G_BEGIN_DECLS diff --git a/sys/applemedia/videotexturecache.h b/sys/applemedia/videotexturecache.h index 8dc927a785..85add3e24c 100644 --- a/sys/applemedia/videotexturecache.h +++ b/sys/applemedia/videotexturecache.h @@ -21,7 +21,7 @@ #define __GST_CORE_VIDEO_TEXTURE_CACHE_H__ #include -#include +#include #include "corevideomemory.h" G_BEGIN_DECLS diff --git a/sys/applemedia/videotexturecache.m b/sys/applemedia/videotexturecache.m index 89bc33efe7..3a29a2a1ca 100644 --- a/sys/applemedia/videotexturecache.m +++ b/sys/applemedia/videotexturecache.m @@ -24,7 +24,6 @@ #if !HAVE_IOS #import #include -#include #include "iosurfacememory.h" #endif #include "iosglmemory.h" -- 2.34.1