summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-14 11:46:01 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-14 11:46:01 +0000
commit4479b18e13e017bf6ae553d6328ca3ae997108d7 (patch)
tree63f0ba41310505a42f5969a4d5ced26f1f641ce7 /net-dialup/lrzsz/files
parentamd64 (diff)
downloadgentoo-2-4479b18e13e017bf6ae553d6328ca3ae997108d7.tar.gz
gentoo-2-4479b18e13e017bf6ae553d6328ca3ae997108d7.tar.bz2
gentoo-2-4479b18e13e017bf6ae553d6328ca3ae997108d7.zip
Fix implicit declaration warnings
(Portage version: 2.1.2.2)
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