summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/flac/flac-1.2.1/flac-gcc43-fixes.patch
blob: 6b6659994f9c79a85308a6209b904a39251282db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Acquired from OpenEmbedded
# Fix no declaration of memcmp()
Upstream-Status: Submitted

diff -urN flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp	2010-06-23 15:06:29.159481339 +0800
+++ flac-1.2.1/examples/cpp/encode/file/main.cpp	2010-06-23 15:06:46.233384883 +0800
@@ -30,6 +30,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "FLAC++/metadata.h"
 #include "FLAC++/encoder.h"