aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tag.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tag.h b/src/tag.h
index 87cac2b97..225b3189e 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -22,6 +22,13 @@
#include "../config.h"
#include <stdio.h>
+#ifdef HAVE_ID3TAG
+#ifdef USE_MPD_ID3TAG
+#include "libid3tag/id3tag.h"
+#else
+#include <id3tag.h>
+#endif
+#endif
typedef struct _MpdTag {
char * artist;
@@ -31,6 +38,10 @@ typedef struct _MpdTag {
int time;
} MpdTag;
+#ifdef HAVE_ID3TAG
+MpdTag * parseId3Tag(struct id3_tag *);
+#endif
+
MpdTag * id3Dup(char * file);
MpdTag * newMpdTag();