/* One thing we don't check is the CPPFLAGS - these MUST be exposed publicly,
* e.g. using pkg-config or the broken old vlc-config. */
+#define PACKAGE "vlc"
+
+/* Because we are from src/ __LIBVLC__ is defined, but we don't want that,
+ * as we act here as a third-party program just linking to libvlc */
+#ifdef __LIBVLC__
+# undef __LIBVLC__
+#endif
+
#include <vlc/vlc.h>
+#include <vlc/deprecated.h>
#include <vlc/libvlc.h>
#include <vlc/libvlc_structures.h>
-#include <vlc/mediacontrol.h>
-#include <vlc/mediacontrol_structures.h>
+#include <vlc/libvlc_events.h>
+#include <vlc/libvlc_media.h>
+#include <vlc/libvlc_media_discoverer.h>
+#include <vlc/libvlc_media_library.h>
+#include <vlc/libvlc_media_list.h>
+#include <vlc/libvlc_media_list_player.h>
+#include <vlc/libvlc_media_player.h>
+#include <vlc/libvlc_vlm.h>
+
+#include <stdio.h>
int main (void)
{