diff options
Diffstat (limited to '')
-rw-r--r-- | src/db_lock.c (renamed from src/playlist/flac_playlist_plugin.h) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/playlist/flac_playlist_plugin.h b/src/db_lock.c index 7b141264f..88adc3614 100644 --- a/src/playlist/flac_playlist_plugin.h +++ b/src/db_lock.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2010 The Music Player Daemon Project + * Copyright (C) 2003-2011 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -17,9 +17,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_PLAYLIST_FLAC_PLAYLIST_PLUGIN_H -#define MPD_PLAYLIST_FLAC_PLAYLIST_PLUGIN_H +#include "config.h" +#include "db_lock.h" -extern const struct playlist_plugin flac_playlist_plugin; +GStaticMutex db_mutex = G_STATIC_MUTEX_INIT; +#ifndef NDEBUG +GThread *db_mutex_holder; #endif |