wok-next annotate 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 |
rev | line source |
---|---|
al@20357 | 1 This patch imports the proper C++ headers |
al@20357 | 2 --- a/include/id3/id3lib_strings.h |
al@20357 | 3 +++ b/include/id3/id3lib_strings.h |
al@20357 | 4 @@ -30,6 +30,7 @@ |
al@20357 | 5 #define _ID3LIB_STRINGS_H_ |
al@20357 | 6 |
al@20357 | 7 #include <string> |
al@20357 | 8 +#include <cstring> |
al@20357 | 9 |
al@20357 | 10 #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000)) |
al@20357 | 11 namespace std |
al@20357 | 12 --- a/include/id3/writers.h |
al@20357 | 13 +++ b/include/id3/writers.h |
al@20357 | 14 @@ -30,7 +30,7 @@ |
al@20357 | 15 |
al@20357 | 16 #include "id3/writer.h" |
al@20357 | 17 #include "id3/id3lib_streams.h" |
al@20357 | 18 -//#include <string.h> |
al@20357 | 19 +#include <cstring> |
al@20357 | 20 |
al@20357 | 21 class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer |
al@20357 | 22 { |