From b03fe3f1af414f2e72b5e7e570ef175465a9b7b4 Mon Sep 17 00:00:00 2001 From: Alexandre Janniaux Date: Thu, 10 Aug 2023 14:50:24 +0200 Subject: [PATCH] vlc_opengl_interop: forward-declare vlc_gl_t vlc_gl_t is referenced by the vlc_gl_interop structure, but only as a pointer. Avoid including and provides a forward-reference. --- include/vlc_opengl_interop.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/vlc_opengl_interop.h b/include/vlc_opengl_interop.h index 861e159597..e234dcce93 100644 --- a/include/vlc_opengl_interop.h +++ b/include/vlc_opengl_interop.h @@ -24,6 +24,7 @@ #include #include +typedef struct vlc_gl_t vlc_gl_t; struct vlc_gl_interop; struct vlc_video_context;