#ifndef SQL_MEDIA_LIBRARY_H
#define SQL_MEDIA_LIBRARY_H
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <stdarg.h>
+#include <assert.h>
+#include <errno.h>
+#include <sys/stat.h>
#include <vlc_common.h>
-#include <vlc/vlc.h>
-
#include <vlc_sql.h>
#include <vlc_media_library.h>
-
#include <vlc_playlist.h>
#include <vlc_input.h>
#include <vlc_arrays.h>
#include <vlc_interface.h>
#include <vlc_modules.h>
-#include <stdarg.h>
-#include <assert.h>
-#include <errno.h>
-
#include "item_list.h"
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-
-
/*****************************************************************************
* Static parameters
*****************************************************************************/
/* Media status Watching thread */
struct watch_thread_t
{
- VLC_COMMON_MEMBERS;
media_library_t *p_ml;
+ vlc_thread_t thread;
vlc_cond_t cond;
vlc_mutex_t lock;