summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch')
-rw-r--r--app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch b/app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch
new file mode 100644
index 000000000000..3de797050b43
--- /dev/null
+++ b/app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch
@@ -0,0 +1,20 @@
+fix missing prototype warnings
+
+--- a/libftp-5.0.1.modified.by.in/FtpLibrary.h
++++ b/libftp-5.0.1.modified.by.in/FtpLibrary.h
+@@ -20,6 +20,7 @@
+ extern "C" {
+ #endif
+
++#include <ctype.h>
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdarg.h>
+@@ -33,6 +34,7 @@
+ #include <sys/time.h>
+ #include <sys/socket.h>
+ #include <arpa/ftp.h>
++#include <arpa/inet.h>
+ #include <arpa/telnet.h>
+ #include <netinet/in.h>
+ #include <netdb.h>