void-packages/srcpkgs/id3lib/patches/10-fix-compilation-with-cpp-headers.patch
2014-07-07 23:27:47 +02:00

21 lines
494 B
Diff

--- include/id3/id3lib_strings.h
+++ include/id3/id3lib_strings.h
@@ -30,6 +30,7 @@
#define _ID3LIB_STRINGS_H_
#include <string>
+#include <cstring>
#if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
namespace std
--- include/id3/writers.h
+++ include/id3/writers.h
@@ -30,7 +30,7 @@
#include "id3/writer.h"
#include "id3/id3lib_streams.h"
-//#include <string.h>
+#include <cstring>
class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
{