summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/lrzsz/files')
-rw-r--r--net-dialup/lrzsz/files/lrzsz-implicit-decl.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dialup/lrzsz/files/lrzsz-implicit-decl.patch b/net-dialup/lrzsz/files/lrzsz-implicit-decl.patch
new file mode 100644
index 000000000000..315f2e4f0e28
--- /dev/null
+++ b/net-dialup/lrzsz/files/lrzsz-implicit-decl.patch
@@ -0,0 +1,22 @@
+diff -Nru lrzsz-0.12.20.orig/lib/long-options.c lrzsz-0.12.20/lib/long-options.c
+--- lrzsz-0.12.20.orig/lib/long-options.c 1998-04-26 16:22:35.000000000 +0300
++++ lrzsz-0.12.20/lib/long-options.c 2007-04-14 14:42:34.000000000 +0300
+@@ -22,6 +22,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <getopt.h>
+ #include "long-options.h"
+
+diff -Nru lrzsz-0.12.20.orig/src/lsyslog.c lrzsz-0.12.20/src/lsyslog.c
+--- lrzsz-0.12.20.orig/src/lsyslog.c 1998-12-29 19:27:46.000000000 +0200
++++ lrzsz-0.12.20/src/lsyslog.c 2007-04-14 14:43:10.000000000 +0300
+@@ -22,6 +22,7 @@
+ #ifdef ENABLE_SYSLOG
+ #include "zglobal.h"
+ #include <pwd.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #endif