summaryrefslogtreecommitdiff
path: root/sys-fs/lufs/files/lufs-0.9.7-gcc43.patch
blob: 3736ba62b017d68598770a81e09ae00a5251dfbf (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
--- filesystems/ftpfs/ftplib.cpp.orig	2008-06-08 20:01:35.000000000 +0200
+++ filesystems/ftpfs/ftplib.cpp	2008-06-08 20:01:53.000000000 +0200
@@ -20,6 +20,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <cstring>
 #include <unistd.h>
 #include <netdb.h>
 #include <stdio.h>
--- filesystems/ftpfs/ftpfs.h.orig	2008-06-08 20:04:33.000000000 +0200
+++ filesystems/ftpfs/ftpfs.h	2008-06-08 20:05:07.000000000 +0200
@@ -23,6 +23,8 @@
 #ifndef _FTPFS_H_
 #define _FTPFS_H_
 
+#include <cstdlib>
+#include <cstring>
 using namespace std;
 
 struct directory;
--- filesystems/sshfs/sftplib.h.orig	2008-06-08 20:08:55.000000000 +0200
+++ filesystems/sshfs/sftplib.h	2008-06-08 20:09:43.000000000 +0200
@@ -28,6 +28,9 @@
 
 #include <string>
 
+#include <cstring>
+#include <cstdlib>
+
 using namespace std;
 
 #define MAXDATA		32768