diff --git a/contrib/libpcap/nametoaddr.c b/contrib/libpcap/nametoaddr.c index 7e6706360944..6e50138682c6 100644 --- a/contrib/libpcap/nametoaddr.c +++ b/contrib/libpcap/nametoaddr.c @@ -30,6 +30,7 @@ static char rcsid[] = #include #include /* concession to AIX */ #include +#include #if __STDC__ struct mbuf; diff --git a/libexec/bootpd/getether.c b/libexec/bootpd/getether.c index c396c8125484..dc3a88ccd4f5 100644 --- a/libexec/bootpd/getether.c +++ b/libexec/bootpd/getether.c @@ -7,7 +7,7 @@ * If you figure out how to do this on another system, * please let me know. * - * $Id$ + * $Id: getether.c,v 1.4 1996/09/22 21:52:09 wosch Exp $ */ #include @@ -111,6 +111,7 @@ getether(ifname, eap) #if defined(__FreeBSD__) || defined(__NetBSD__) /* Thanks to John Brezak for this code. */ #include +#include #include #include #include diff --git a/libexec/bootpd/getif.c b/libexec/bootpd/getif.c index eeff50f081d2..2d72909ef859 100644 --- a/libexec/bootpd/getif.c +++ b/libexec/bootpd/getif.c @@ -1,7 +1,7 @@ /* * getif.c : get an interface structure * - * $Id$ + * $Id: getif.c,v 1.3 1996/09/22 21:52:12 wosch Exp $ */ #include @@ -15,9 +15,7 @@ #include #endif -#ifdef _AIX32 #include /* for struct timeval in net/if.h */ -#endif #include /* for struct ifreq */ #include diff --git a/libexec/bootpd/lookup.c b/libexec/bootpd/lookup.c index ed1a27cbe2cf..b5b51b547cbc 100644 --- a/libexec/bootpd/lookup.c +++ b/libexec/bootpd/lookup.c @@ -1,15 +1,13 @@ /* * lookup.c - Lookup IP address, HW address, netmask * - * $Id$ + * $Id: lookup.c,v 1.2 1996/09/22 21:52:21 wosch Exp $ */ #include #include -#ifdef _AIX32 #include /* for struct timeval in net/if.h */ -#endif #include #include diff --git a/libexec/bootpd/rtmsg.c b/libexec/bootpd/rtmsg.c index 5942b22d13f4..0338a95291ef 100644 --- a/libexec/bootpd/rtmsg.c +++ b/libexec/bootpd/rtmsg.c @@ -39,7 +39,7 @@ /* * from arp.c 8.2 (Berkeley) 1/2/94 - * $Id: rtmsg.c,v 1.3 1995/01/30 11:11:43 dfr Exp $ + * $Id: rtmsg.c,v 1.4 1995/05/30 05:45:49 rgrimes Exp $ */ #include @@ -51,6 +51,7 @@ #include #include +#include #include #include diff --git a/libexec/bootpd/tools/bootptest/print-bootp.c b/libexec/bootpd/tools/bootptest/print-bootp.c index 8390321912a3..b51f42c383cc 100644 --- a/libexec/bootpd/tools/bootptest/print-bootp.c +++ b/libexec/bootpd/tools/bootptest/print-bootp.c @@ -23,7 +23,7 @@ * This file was copied from tcpdump-2.1.1 and modified. * There is an e-mail list for tcpdump: * - * $Id$ + * $Id: print-bootp.c,v 1.2 1996/09/22 21:52:58 wosch Exp $ */ #include @@ -32,9 +32,7 @@ #include #include -#ifdef _AIX32 #include /* for struct timeval in net/if.h */ -#endif #include #include diff --git a/libexec/rbootd/bpf.c b/libexec/rbootd/bpf.c index c39150cae449..4b24aa47846b 100644 --- a/libexec/rbootd/bpf.c +++ b/libexec/rbootd/bpf.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)bpf.c 8.1 (Berkeley) 6/4/93 - * $Id$ + * $Id: bpf.c,v 1.3 1996/09/22 21:54:25 wosch Exp $ * * Utah $Hdr: bpf.c 3.1 92/07/06$ * Author: Jeff Forys, University of Utah CSS @@ -52,6 +52,7 @@ static char sccsid[] = "@(#)bpf.c 8.1 (Berkeley) 6/4/93"; #include #include #include +#include #include #include diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index f23e66d4d7a5..0bd94ea2eb32 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -42,13 +42,14 @@ static const char copyright[] = static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94"; */ static const char rcsid[] = - "$Id$"; + "$Id: ifconfig.c,v 1.20 1996/11/21 19:36:09 wollman Exp $"; #endif /* not lint */ #include #include #include #include +#include #include #include diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c index b97d38f8ba96..7487b21dbd8d 100644 --- a/sbin/ipfw/ipfw.c +++ b/sbin/ipfw/ipfw.c @@ -16,22 +16,26 @@ * * NEW command line interface for IP firewall facility * - * $Id: ipfw.c,v 1.33 1996/08/31 17:58:23 nate Exp $ + * $Id: ipfw.c,v 1.34 1996/10/17 01:05:03 alex Exp $ * */ -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include #include #include diff --git a/sbin/route/route.c b/sbin/route/route.c index 84dee1d82a32..339d84177fa7 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; */ static const char rcsid[] = - "$Id: route.c,v 1.16 1996/10/27 17:42:14 fenner Exp $"; + "$Id: route.c,v 1.17 1996/11/01 20:30:37 wollman Exp $"; #endif /* not lint */ #include @@ -51,6 +51,7 @@ static const char rcsid[] = #include #include #include +#include #include #include @@ -69,15 +70,16 @@ static const char rcsid[] = #include #include -#include -#include -#include #include +#include +#include +#include +#include #include #include -#include -#include #include +#include +#include struct keytab { char *kt_cp; diff --git a/sbin/routed/defs.h b/sbin/routed/defs.h index 5dd0b8bd01ec..d87029d14560 100644 --- a/sbin/routed/defs.h +++ b/sbin/routed/defs.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)defs.h 8.1 (Berkeley) 6/5/93 - * $Id: defs.h,v 1.2 1996/09/16 17:03:29 wollman Exp $ + * $Id: defs.h,v 1.3 1996/11/19 20:42:11 wollman Exp $ */ /* Definitions for RIPv2 routing process. @@ -77,6 +77,7 @@ #include #include #include +#include #ifdef sgi #include #else diff --git a/sbin/slattach/slattach.c b/sbin/slattach/slattach.c index be4bf1ae7591..b500a4b04e6a 100644 --- a/sbin/slattach/slattach.c +++ b/sbin/slattach/slattach.c @@ -42,26 +42,29 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)slattach.c 4.6 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id"; +static char rcsid[] = "$Id$"; #endif /* not lint */ #include #include -#include #include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include #define DEFAULT_BAUD 9600 diff --git a/sbin/startslip/startslip.c b/sbin/startslip/startslip.c index f5d121bca2c1..222d163877ae 100644 --- a/sbin/startslip/startslip.c +++ b/sbin/startslip/startslip.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: startslip.c,v 1.17 1995/09/20 04:56:09 ache Exp $ + * $Id: startslip.c,v 1.18 1995/09/27 17:15:37 ache Exp $ */ #ifndef lint @@ -43,25 +43,28 @@ static char copyright[] = static char sccsid[] = "@(#)startslip.c 8.1 (Berkeley) 6/5/93"; #endif /* not lint */ +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include -#include -#include -#include -#include +#include + #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include #define DEFAULT_BAUD B9600 int speed = DEFAULT_BAUD; diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index 61e173e08798..8ff0cd6f9548 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -8,6 +8,7 @@ BEGIN { print "#include " print "#include " print "#include " + print "#include " print "#include " print "#include " print "#include " diff --git a/usr.bin/netstat/atalk.c b/usr.bin/netstat/atalk.c index 3087426d0f32..575ac873f208 100644 --- a/usr.bin/netstat/atalk.c +++ b/usr.bin/netstat/atalk.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)atalk.c 1.1 (Whistle) 6/6/96"; */ static const char rcsid[] = - "$Id$"; + "$Id: atalk.c,v 1.6 1996/10/28 18:56:31 wollman Exp $"; #endif /* not lint */ #include @@ -46,9 +46,6 @@ static const char rcsid[] = #include #include -#include - -#include #include #include diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index 6c9db220cc3c..fb7ef447e50b 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95"; #include #include #include +#include #include #include diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c index fb55788be504..c6346d6e4ab1 100644 --- a/usr.bin/netstat/ipx.c +++ b/usr.bin/netstat/ipx.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)ns.c 8.1 (Berkeley) 6/6/93"; */ static const char rcsid[] = - "$Id$"; + "$Id: ipx.c,v 1.4 1996/10/28 18:56:39 wollman Exp $"; #endif /* not lint */ #include @@ -46,7 +46,6 @@ static const char rcsid[] = #include #include -#include #include diff --git a/usr.bin/netstat/mroute.c b/usr.bin/netstat/mroute.c index 45c47b53f9eb..68a15f5b868a 100644 --- a/usr.bin/netstat/mroute.c +++ b/usr.bin/netstat/mroute.c @@ -49,6 +49,7 @@ #include #include #include +#include #include #include diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 74bbddedfd78..2da464f30450 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -36,12 +36,13 @@ static char sccsid[] = "From: @(#)route.c 8.6 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: route.c,v 1.20 1996/10/09 18:19:07 wollman Exp $"; + "$Id: route.c,v 1.21 1996/10/28 18:56:44 wollman Exp $"; #endif /* not lint */ #include #include #include +#include #include #include diff --git a/usr.sbin/IPXrouted/startup.c b/usr.sbin/IPXrouted/startup.c index 66f61137a9b7..a711de342bc7 100644 --- a/usr.sbin/IPXrouted/startup.c +++ b/usr.sbin/IPXrouted/startup.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: startup.c,v 1.2 1995/11/13 21:01:36 julian Exp $ + * $Id: startup.c,v 1.3 1996/02/20 23:11:24 julian Exp $ */ #ifndef lint @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)startup.c 8.1 (Berkeley) 6/5/93"; #include #include #include +#include #include #include diff --git a/usr.sbin/amd/fsinfo/fsinfo.h b/usr.sbin/amd/fsinfo/fsinfo.h index 0d07e21b0f87..1483337e9c1d 100644 --- a/usr.sbin/amd/fsinfo/fsinfo.h +++ b/usr.sbin/amd/fsinfo/fsinfo.h @@ -37,7 +37,7 @@ * * @(#)fsinfo.h 8.1 (Berkeley) 6/6/93 * - * $Id: fsinfo.h,v 5.2.2.1 1992/02/09 15:09:51 jsp beta $ + * $Id: fsinfo.h,v 1.1.1.1 1994/05/26 05:22:18 rgrimes Exp $ * */ @@ -80,6 +80,7 @@ typedef char *voidp; * Bogosity to deal with ether { ... } */ #include +#include #include #include #include diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 218f43aac6fb..9b31c6ab4879 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -42,7 +42,7 @@ static char const copyright[] = #ifndef lint static char const sccsid[] = "@(#)from: arp.c 8.2 (Berkeley) 1/2/94"; -static char const freebsdid[] = "$Id$"; +static char const freebsdid[] = "$Id: arp.c,v 1.4 1996/02/08 21:05:52 phk Exp $"; #endif /* not lint */ /* @@ -56,6 +56,7 @@ static char const freebsdid[] = "$Id$"; #include #include #include +#include #include #include @@ -89,7 +90,6 @@ int rtmsg(int cmd); void quit(char *msg); int get_ether_addr(u_long ipaddr, u_char *hwaddr); -extern int errno; static int pid; static int nflag; static int s = -1; diff --git a/usr.sbin/portmap/from_local.c b/usr.sbin/portmap/from_local.c index 9daacba04d27..c1d1570d01cb 100644 --- a/usr.sbin/portmap/from_local.c +++ b/usr.sbin/portmap/from_local.c @@ -44,13 +44,16 @@ static char sccsid[] = "@(#) from_local.c 1.2 93/11/16 21:50:02"; #endif #include -#include -#include -#include -#include #include +#include +#include + +#include #include +#include +#include + #ifndef TRUE #define TRUE 1 #define FALSE 0 diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c index e67a6a2ee08d..f7e70576a5d3 100644 --- a/usr.sbin/ppp/os.c +++ b/usr.sbin/ppp/os.c @@ -17,22 +17,26 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: os.c,v 1.6 1996/05/13 07:20:11 phk Exp $ + * $Id: os.c,v 1.7 1996/06/03 21:35:21 gpalmer Exp $ * */ #include "fsm.h" #include #include -#include #if BSD >= 199206 || _BSDI_VERSION >= 199312 #include #endif #include +#include + #include +#include + #include #include +#include #include -#include + #include "ipcp.h" #include "os.h" #include "vars.h" diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index 9416836ae41a..51f6615ce25a 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -17,29 +17,33 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: route.c,v 1.8 1996/10/06 13:32:35 jkh Exp $ + * $Id: route.c,v 1.9 1996/10/12 16:20:34 jkh Exp $ * */ #include #include +#include #include #include -#include -#include -#include -#include -#include -#include -#include #if (BSD >= 199306) #include #else #include #endif +#include + +#include #include #include #include #include + +#include +#include +#include +#include +#include + #include "log.h" static int IfIndex; diff --git a/usr.sbin/pppstats/pppstats.c b/usr.sbin/pppstats/pppstats.c index 18bb7e6114e1..5ae1809f4030 100644 --- a/usr.sbin/pppstats/pppstats.c +++ b/usr.sbin/pppstats/pppstats.c @@ -37,18 +37,20 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.11 1995/07/11 06:41:45 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.6 1995/10/31 21:41:59 peter Exp $"; #endif +#include +#include +#include +#include + #include #include #include #include #include #include -#include -#include -#include #include diff --git a/usr.sbin/slstat/slstat.c b/usr.sbin/slstat/slstat.c index 5665bcec705a..54d344da498f 100644 --- a/usr.sbin/slstat/slstat.c +++ b/usr.sbin/slstat/slstat.c @@ -23,13 +23,14 @@ #ifndef lint static const char rcsid[] = - "$Id: slstat.c,v 1.6 1996/10/11 18:47:10 wollman Exp $"; + "$Id: slstat.c,v 1.7 1996/11/04 17:14:43 bde Exp $"; #endif #include #include #include #include +#include #include #include diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index 6fe933d04bc2..5e351fae81e1 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -55,6 +55,7 @@ static char sccsid[] = "@(#)trpt.c 8.1 (Berkeley) 6/6/93"; #define PRUREQUESTS #include #include +#include #include #include diff --git a/usr.sbin/xntpd/include/ntp_if.h b/usr.sbin/xntpd/include/ntp_if.h index bc842fbcc644..340481a6bbec 100644 --- a/usr.sbin/xntpd/include/ntp_if.h +++ b/usr.sbin/xntpd/include/ntp_if.h @@ -44,4 +44,8 @@ #endif /* SYS_SVR4 */ +#if defined(SYS_FREEBSD) +#include +#endif + #include