summaryrefslogtreecommitdiff
path: root/meta/packages/musicbrainz/files/gcc43_fix.patch
blob: 520837dd06ffeb21e745c393417d19b704a0e03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Index: libmusicbrainz-2.1.3/lib/c_wrapper.cpp
===================================================================
--- libmusicbrainz-2.1.3.orig/lib/c_wrapper.cpp	2008-07-18 15:40:55.000000000 +0100
+++ libmusicbrainz-2.1.3/lib/c_wrapper.cpp	2008-07-18 15:42:05.000000000 +0100
@@ -21,6 +21,7 @@
      $Id: c_wrapper.cpp 665 2003-10-16 22:21:10Z robert $
 
 ----------------------------------------------------------------------------*/
+#include <cstring>
 #include "musicbrainz.h"
 #include "trm.h"
 #include "mb_c.h"
Index: libmusicbrainz-2.1.3/lib/comhttpsocket.cpp
===================================================================
--- libmusicbrainz-2.1.3.orig/lib/comhttpsocket.cpp	2008-07-18 15:40:55.000000000 +0100
+++ libmusicbrainz-2.1.3/lib/comhttpsocket.cpp	2008-07-18 15:42:38.000000000 +0100
@@ -10,6 +10,8 @@
 #pragma warning(disable:4786)
 #endif
 
+#include <cstring>
+
 #include "comhttpsocket.h"
 #ifdef WIN32
 #include "../config_win32.h"
Index: libmusicbrainz-2.1.3/lib/comsocket.cpp
===================================================================
--- libmusicbrainz-2.1.3.orig/lib/comsocket.cpp	2008-07-18 15:40:55.000000000 +0100
+++ libmusicbrainz-2.1.3/lib/comsocket.cpp	2008-07-18 15:43:05.000000000 +0100
@@ -28,6 +28,7 @@
     programed by         : Sean Ward
     email                : sward@relatable.com
  ***************************************************************************/
+#include <cstring>
 
 #include "config.h"
 
Index: libmusicbrainz-2.1.3/lib/http.cpp
===================================================================
--- libmusicbrainz-2.1.3.orig/lib/http.cpp	2008-07-18 15:40:55.000000000 +0100
+++ libmusicbrainz-2.1.3/lib/http.cpp	2008-07-18 15:41:32.000000000 +0100
@@ -23,6 +23,8 @@
 
 ----------------------------------------------------------------------------*/
 #include <stdio.h> 
+#include <cstring>
+#include <cstdlib>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <ctype.h>
Index: libmusicbrainz-2.1.3/lib/sigclient.cpp
===================================================================
--- libmusicbrainz-2.1.3.orig/lib/sigclient.cpp	2008-07-18 15:40:55.000000000 +0100
+++ libmusicbrainz-2.1.3/lib/sigclient.cpp	2008-07-18 15:43:27.000000000 +0100
@@ -29,6 +29,8 @@
 email                : ijr@relatable.com
 ***************************************************************************/
 
+#include <cstring>
+
 #ifdef WIN32
 #pragma warning(disable:4786)
 #endif