diff --git a/modules/video_output/opengl/interop_android.c b/modules/video_output/opengl/interop_android.c
index 4f9dcdb6189524fdb75c69778e8e24be9d745025..47b4bab3289ec569d317d92d1ecd9124f99e589f 100644
--- a/modules/video_output/opengl/interop_android.c
+++ b/modules/video_output/opengl/interop_android.c
@@ -26,6 +26,7 @@
 # error this file must be built from android
 #endif
 
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include "interop.h"
 #include "../android/utils.h"
diff --git a/modules/video_output/opengl/interop_cvpx.c b/modules/video_output/opengl/interop_cvpx.c
index 48bddb2473f36e9a86e199f5c988a56711a501ae..00171398e3e0633fb0db596bd14eda8916d90b10 100644
--- a/modules/video_output/opengl/interop_cvpx.c
+++ b/modules/video_output/opengl/interop_cvpx.c
@@ -22,6 +22,7 @@
 # include "config.h"
 #endif
 
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include "interop.h"
 #include "../../codec/vt_utils.h"