wok-next view id3lib/stuff/patches/10-fix-compilation-with-cpp-headers.patch @ rev 20646

grub2-efi: ls module embedded
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 02 11:12:13 2018 +0200 (2018-05-02)
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 {