summaryrefslogtreecommitdiff
path: root/sys-fs/lufs/files/lufs-0.9.7-gcc43.patch
blob: a3da3f82cf6d4933e3870ae92da05b55fc88f150 (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
--- a/filesystems/ftpfs/ftplib.cpp
+++ b/filesystems/ftpfs/ftplib.cpp
@@ -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>
--- a/filesystems/ftpfs/ftpfs.h
+++ b/filesystems/ftpfs/ftpfs.h
@@ -23,6 +23,8 @@
 #ifndef _FTPFS_H_
 #define _FTPFS_H_
 
+#include <cstdlib>
+#include <cstring>
 using namespace std;
 
 struct directory;
--- a/filesystems/sshfs/sftplib.h
+++ b/filesystems/sshfs/sftplib.h
@@ -28,6 +28,9 @@
 
 #include <string>
 
+#include <cstring>
+#include <cstdlib>
+
 using namespace std;
 
 #define MAXDATA		32768