diff --git a/gst-libs/gst/gl/egl/gstglmemoryegl.c b/gst-libs/gst/gl/egl/gstglmemoryegl.c index fd7d25c600..8c23122bf8 100644 --- a/gst-libs/gst/gl/egl/gstglmemoryegl.c +++ b/gst-libs/gst/gl/egl/gstglmemoryegl.c @@ -38,6 +38,7 @@ #include #include +#include static GstAllocator *_gl_memory_egl_allocator; diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index d147cb3114..e69ae2f064 100644 --- a/gst-libs/gst/gl/gstglupload.c +++ b/gst-libs/gst/gl/gstglupload.c @@ -29,6 +29,7 @@ #if GST_GL_HAVE_PLATFORM_EGL #include "egl/gstglmemoryegl.h" +#include "egl/gstglcontext_egl.h" #endif #if GST_GL_HAVE_DMABUF