void-packages/srcpkgs/id3lib/patches/10-fix-compilation-with-cpp-headers.patch

22 lines
494 B
Diff
Raw Normal View History

2014-07-06 17:50:53 +00:00
--- 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
{