diff --git a/src/test/headers.c b/src/test/headers.c
index 8575c5ccfa2a31384ee95fa908cad57e404bc32c..b908f883678d4d58446ca0dc4ab51dcdbd83fff4 100644
--- a/src/test/headers.c
+++ b/src/test/headers.c
@@ -33,8 +33,13 @@
 #endif
 
 #include <vlc/vlc.h>
+#include <vlc/common.h>
+#include <vlc/deprecated.h>
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_structures.h>
+#include <vlc/libvlc_events.h>
+#include <vlc/libvlc_media_list.h>
+#include <vlc/libvlc_vlm.h>
 #include <vlc/mediacontrol.h>
 #include <vlc/mediacontrol_structures.h>