From: Hugo Villeneuve Date: Wed, 26 Mar 2014 04:13:16 +0000 (-0400) Subject: Fix bug when including after X-Git-Url: http://gitweb.hugovil.com/?p=hvgrip.git;a=commitdiff_plain;h=35fe99152b260a0df305e07bd7e33a1888f26b25 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 . --- 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