archrelease: copy trunk to extra-x86_64
[arch-packages.git] / id3lib / repos / extra-x86_64 / 10-fix-compilation-with-cpp-headers.patch
bloba9b45ab02c54ab8d72cf901033de0da89d9fa457
1 This patch imports the proper C++ headers
2 --- a/include/id3/id3lib_strings.h
3 +++ b/include/id3/id3lib_strings.h
4 @@ -30,6 +30,7 @@
5 #define _ID3LIB_STRINGS_H_
7 #include <string>
8 +#include <cstring>
10 #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
11 namespace std
12 --- a/include/id3/writers.h
13 +++ b/include/id3/writers.h
14 @@ -30,7 +30,7 @@
16 #include "id3/writer.h"
17 #include "id3/id3lib_streams.h"
18 -//#include <string.h>
19 +#include <cstring>
21 class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer