From d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 10 Dec 1996 17:11:53 +0000 Subject: Fix up programs which expect to include to instead do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. --- libexec/bootpd/getether.c | 3 ++- libexec/bootpd/getif.c | 4 +--- libexec/bootpd/lookup.c | 4 +--- libexec/bootpd/rtmsg.c | 3 ++- libexec/bootpd/tools/bootptest/print-bootp.c | 4 +--- 5 files changed, 7 insertions(+), 11 deletions(-) (limited to 'libexec/bootpd') diff --git a/libexec/bootpd/getether.c b/libexec/bootpd/getether.c index c396c81..dc3a88c 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 eeff50f..2d72909 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 ed1a27c..b5b51b5 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 5942b22..0338a95 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 8390321..b51f42c 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 -- cgit v1.1