* Preamble
*****************************************************************************/
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_input.h>
#include <errno.h> /* ENOMEM */
+#include <assert.h>
+
/*****************************************************************************
* Local prototypes
*****************************************************************************/