gentoo-full-overlay/sys-fs/lufs/files/lufs-0.9.7-gcc43.patch

33 lines
877 B
Diff

--- 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