aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;