wok-next view id3lib/stuff/patches/10-fix-compilation-with-cpp-headers.patch @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | |
children |
line source
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
22 {