aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/song.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/song.h b/src/song.h
index 6ac036953..db582beea 100644
--- a/src/song.h
+++ b/src/song.h
@@ -23,8 +23,6 @@
#include "util/list.h"
#include "gcc.h"
-#include <glib.h>
-
#include <assert.h>
#include <stddef.h>
#include <stdbool.h>
@@ -68,7 +66,9 @@ struct song {
*/
extern struct Directory detached_root;
-G_BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
/** allocate a new song with a remote URL */
struct song *
@@ -160,6 +160,8 @@ song_get_uri(const struct song *song);
double
song_get_duration(const struct song *song);
-G_END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif