summaryrefslogtreecommitdiffstats
path: root/extra/flac/gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/flac/gcc4.patch')
-rw-r--r--extra/flac/gcc4.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/flac/gcc4.patch b/extra/flac/gcc4.patch
new file mode 100644
index 000000000..627ee9f63
--- /dev/null
+++ b/extra/flac/gcc4.patch
@@ -0,0 +1,21 @@
+--- examples/cpp/encode/file/main.cpp.orig 2007-09-13 09:58:03.000000000 -0600
++++ examples/cpp/encode/file/main.cpp 2007-11-18 12:59:45.000000000 -0600
+@@ -30,6 +30,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <cstring>
+ #include "FLAC++/metadata.h"
+ #include "FLAC++/encoder.h"
+
+--- examples/cpp/decode/file/main.cpp.orig 2008-09-14 20:37:05.000000000 +0200
++++ examples/cpp/decode/file/main.cpp 2008-09-14 20:37:19.000000000 +0200
+@@ -30,6 +30,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <cstring>
+ #include "FLAC++/decoder.h"
+
+ static FLAC__uint64 total_samples = 0;
+