Index: rfc931.c =================================================================== --- rfc931.c.orig 2009-10-30 20:14:38.000000000 +0100 +++ rfc931.c 2009-10-30 20:17:34.000000000 +0100 @@ -23,7 +23,7 @@ static char sccsid[] = "@(#) rfc931.c 1. #include #include #include - +#include /* Local stuff. */ #include "tcpd.h" Index: safe_finger.c =================================================================== --- safe_finger.c.orig 2009-10-30 20:14:36.000000000 +0100 +++ safe_finger.c 2009-10-30 20:32:39.000000000 +0100 @@ -19,13 +19,16 @@ static char sccsid[] = "@(#) safe_finger #endif /* System libraries */ - +#include +#include #include #include +#include #include #include #include #include +#include extern void exit(); Index: tcpdchk.c =================================================================== --- tcpdchk.c.orig 2009-10-30 20:14:36.000000000 +0100 +++ tcpdchk.c 2009-10-30 20:28:19.000000000 +0100 @@ -20,6 +20,7 @@ static char sccsid[] = "@(#) tcpdchk.c 1 /* System libraries. */ +#include #include #include #ifdef INET6 @@ -33,6 +34,7 @@ static char sccsid[] = "@(#) tcpdchk.c 1 #include #include #include +#include extern int errno; extern void exit(); Index: tcpdmatch.c =================================================================== --- tcpdmatch.c.orig 2009-10-30 20:14:36.000000000 +0100 +++ tcpdmatch.c 2009-10-30 20:29:17.000000000 +0100 @@ -19,6 +19,7 @@ static char sccsid[] = "@(#) tcpdmatch.c /* System libraries. */ +#include #include #include #include @@ -29,6 +30,7 @@ static char sccsid[] = "@(#) tcpdmatch.c #include #include #include +#include extern void exit(); extern int optind;