Fix id3lib build with gcc 4.3
[openwrt/svn-archive/archive.git] / libs / id3lib / patches / 130-fix-includes.patch
1 diff --git a/include/id3/id3lib_strings.h b/include/id3/id3lib_strings.h
2 index 02a9aba..101b797 100644
3 --- a/include/id3/id3lib_strings.h
4 +++ b/include/id3/id3lib_strings.h
5 @@ -29,6 +29,7 @@
6 #ifndef _ID3LIB_STRINGS_H_
7 #define _ID3LIB_STRINGS_H_
8
9 +#include <string.h>
10 #include <string>
11 #include <streambuf>
12
13 diff --git a/include/id3/writers.h b/include/id3/writers.h
14 index 1cbb0dc..4bc8f77 100644
15 --- a/include/id3/writers.h
16 +++ b/include/id3/writers.h
17 @@ -30,7 +30,7 @@
18
19 #include "id3/writer.h"
20 #include "id3/id3lib_streams.h"
21 -//#include <string.h>
22 +#include <string.h>
23
24 class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
25 {