packages/libs/id3lib/patches/130-fix-includes.patch
lars 2ea8b2e437 Fix id3lib build with gcc 4.3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-07 17:11:08 +00:00

26 lines
645 B
Diff

diff --git a/include/id3/id3lib_strings.h b/include/id3/id3lib_strings.h
index 02a9aba..101b797 100644
--- a/include/id3/id3lib_strings.h
+++ b/include/id3/id3lib_strings.h
@@ -29,6 +29,7 @@
#ifndef _ID3LIB_STRINGS_H_
#define _ID3LIB_STRINGS_H_
+#include <string.h>
#include <string>
#include <streambuf>
diff --git a/include/id3/writers.h b/include/id3/writers.h
index 1cbb0dc..4bc8f77 100644
--- a/include/id3/writers.h
+++ b/include/id3/writers.h
@@ -30,7 +30,7 @@
#include "id3/writer.h"
#include "id3/id3lib_streams.h"
-//#include <string.h>
+#include <string.h>
class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
{