aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-21 19:00:01 +0100
committerMax Kellermann <max@duempel.org>2013-01-21 19:00:01 +0100
commited8562c300b803ac322ea36078428421ec97a41e (patch)
tree7fc6d5cc16eb096c39f07fce0188ff181f10cea9 /src
parent22ec1c349858bea1c6f0653828234a6e3c2d407e (diff)
downloadmpd-ed8562c300b803ac322ea36078428421ec97a41e.tar.gz
mpd-ed8562c300b803ac322ea36078428421ec97a41e.tar.xz
mpd-ed8562c300b803ac322ea36078428421ec97a41e.zip
despotify_utils: include cleanup
Diffstat (limited to 'src')
-rw-r--r--src/despotify_utils.c8
-rw-r--r--src/despotify_utils.h2
2 files changed, 6 insertions, 4 deletions
diff --git a/src/despotify_utils.c b/src/despotify_utils.c
index e05f37398..acb32310b 100644
--- a/src/despotify_utils.c
+++ b/src/despotify_utils.c
@@ -17,12 +17,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <glib.h>
-#include <despotify.h>
-
+#include "despotify_utils.h"
#include "tag.h"
#include "conf.h"
-#include "despotify_utils.h"
+
+#include <glib.h>
+#include <despotify.h>
static struct despotify_session *g_session;
static void (*registered_callbacks[8])(struct despotify_session *,
diff --git a/src/despotify_utils.h b/src/despotify_utils.h
index 7e35edc3c..ab2968ab0 100644
--- a/src/despotify_utils.h
+++ b/src/despotify_utils.h
@@ -20,6 +20,8 @@
#ifndef MPD_DESPOTIFY_H
#define MPD_DESPOTIFY_H
+#include <stdbool.h>
+
struct despotify_session;
struct ds_track;