summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch')
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
new file mode 100644
index 0000000000..965544cc0b
--- /dev/null
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch
@@ -0,0 +1,25 @@
1Compile warning fixes from Debian
2
3Signed-off-by: Adrian Bunk <bunk@stusta.de>
4Upstream-Status: Inappropriate [upstream is dead]
5
6--- a/options.c
7+++ b/options.c
8@@ -41,6 +41,7 @@ static char sccsid[] = "@(#) options.c 1
9 #include <netinet/in.h>
10 #include <netdb.h>
11 #include <stdio.h>
12+#include <unistd.h>
13 #include <syslog.h>
14 #include <pwd.h>
15 #include <grp.h>
16--- a/scaffold.c
17+++ b/scaffold.c
18@@ -17,6 +17,7 @@ static char sccs_id[] = "@(#) scaffold.c
19 #include <arpa/inet.h>
20 #include <netdb.h>
21 #include <stdio.h>
22+#include <stdlib.h>
23 #include <syslog.h>
24 #include <setjmp.h>
25 #include <string.h>