blob: 76092df7afa344e81bf534124bbc653e4a3cacf8 (
plain)
1 diff -aur libmusicbrainz-2.1.5.orig/lib/c_wrapper.cpp libmusicbrainz-2.1.5/lib/c_wrapper.cpp
2 --- libmusicbrainz-2.1.5.orig/lib/c_wrapper.cpp 2006-11-14 17:34:49.000000000 +0100
3 +++ libmusicbrainz-2.1.5/lib/c_wrapper.cpp 2008-12-20 12:07:34.688177560 +0100
4 @@ -24,6 +24,7 @@
5 #include "musicbrainz.h"
6 #include "trm.h"
7 #include "mb_c.h"
8 +#include <cstring>
9
10 extern "C"
11 {
12 diff -aur libmusicbrainz-2.1.5.orig/lib/comhttpsocket.cpp libmusicbrainz-2.1.5/lib/comhttpsocket.cpp
13 --- libmusicbrainz-2.1.5.orig/lib/comhttpsocket.cpp 2006-11-14 17:34:49.000000000 +0100
14 +++ libmusicbrainz-2.1.5/lib/comhttpsocket.cpp 2008-12-20 12:07:54.383178200 +0100
15 @@ -20,6 +20,7 @@
16 #endif
17 #include <stdlib.h>
18 #include <assert.h>
19 +#include <cstring>
20
21 const char* g_strCOMVer = "libmusicbrainz/"VERSION;
22
23 diff -aur libmusicbrainz-2.1.5.orig/lib/comsocket.cpp libmusicbrainz-2.1.5/lib/comsocket.cpp
24 --- libmusicbrainz-2.1.5.orig/lib/comsocket.cpp 2006-11-14 17:34:49.000000000 +0100
25 +++ libmusicbrainz-2.1.5/lib/comsocket.cpp 2008-12-20 12:07:04.275176680 +0100
26 @@ -37,6 +37,7 @@
27 #include <netinet/tcp.h>
28 #include <errno.h>
29 #include <stdio.h>
30 +#include <cstring>
31 #include <sys/time.h>
32 #include <sys/types.h>
33 #include <unistd.h>
34 diff -aur libmusicbrainz-2.1.5.orig/lib/http.cpp libmusicbrainz-2.1.5/lib/http.cpp
35 --- libmusicbrainz-2.1.5.orig/lib/http.cpp 2007-05-11 08:21:21.000000000 +0200
36 +++ libmusicbrainz-2.1.5/lib/http.cpp 2008-12-20 12:09:34.249178880 +0100
37 @@ -24,6 +24,7 @@
38 ----------------------------------------------------------------------------*/
39 #include <stdlib.h>
40 #include <stdio.h>
41 +#include <cstring>
42 #include <sys/types.h>
43 #include <sys/stat.h>
44 #include <ctype.h>
45 diff -aur libmusicbrainz-2.1.5.orig/lib/sigclient.cpp libmusicbrainz-2.1.5/lib/sigclient.cpp
46 --- libmusicbrainz-2.1.5.orig/lib/sigclient.cpp 2006-11-14 17:34:49.000000000 +0100
47 +++ libmusicbrainz-2.1.5/lib/sigclient.cpp 2008-12-20 12:10:34.340178600 +0100
48 @@ -33,6 +33,7 @@
49 #pragma warning(disable:4786)
50 #endif
51
52 +#include <cstring>
53 #include "sigclient.h"
54 #include "comhttpsocket.h"
55
|