From 35fe99152b260a0df305e07bd7e33a1888f26b25 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 26 Mar 2014 00:13:16 -0400 Subject: [PATCH] Fix bug when including after id3lib, in a very stupid way, has a public bool typedef. This creates a compilation error if we are including . --- src/id3.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/id3.c b/src/id3.c index cd38528..4b46b96 100644 --- a/src/id3.c +++ b/src/id3.c @@ -219,6 +219,11 @@ typedef struct _id3_tag { #ifdef HAVE_ID3V2 +/* + * id3lib, in a very stupid way, has a public bool typedef. + * This creates a compilation error if we are including + */ +#undef bool #include /* Things you might want to mess with. Surprisingly, the code will probably -- 2.20.1