mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
28 lines
889 B
Diff
28 lines
889 B
Diff
|
Debian patch
|
||
|
diff -ruNp tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
|
||
|
--- tcp_wrappers_7.6.orig/options.c 2006-03-01 23:45:28.000000000 +0100
|
||
|
+++ tcp_wrappers_7.6/options.c 2006-03-01 22:55:44.000000000 +0100
|
||
|
@@ -41,6 +41,7 @@ static char sccsid[] = "@(#) options.c 1
|
||
|
#include <netinet/in.h>
|
||
|
#include <netdb.h>
|
||
|
#include <stdio.h>
|
||
|
+#include <unistd.h>
|
||
|
#include <syslog.h>
|
||
|
#include <pwd.h>
|
||
|
#include <grp.h>
|
||
|
diff -ruNp tcp_wrappers_7.6.orig/scaffold.c tcp_wrappers_7.6/scaffold.c
|
||
|
--- tcp_wrappers_7.6.orig/scaffold.c 2006-03-01 23:45:28.000000000 +0100
|
||
|
+++ tcp_wrappers_7.6/scaffold.c 2006-03-01 22:56:13.000000000 +0100
|
||
|
@@ -17,6 +17,7 @@ static char sccs_id[] = "@(#) scaffold.c
|
||
|
#include <arpa/inet.h>
|
||
|
#include <netdb.h>
|
||
|
#include <stdio.h>
|
||
|
+#include <stdlib.h>
|
||
|
#include <syslog.h>
|
||
|
#include <setjmp.h>
|
||
|
#include <string.h>
|
||
|
@@ -28,3 +28,2 @@
|
||
|
|
||
|
-extern char *malloc();
|
||
|
|