diff options
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.patch | 25 |
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 @@ | |||
1 | Compile warning fixes from Debian | ||
2 | |||
3 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
4 | Upstream-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> | ||