summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/getether.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-12-10 17:11:53 +0000
committerwollman <wollman@FreeBSD.org>1996-12-10 17:11:53 +0000
commitd3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (patch)
tree1bb2cd09b3e27a462e04923aa2922608ee5ea899 /libexec/bootpd/getether.c
parent3f5b5465d429055a8f42863b35d3d19ec28dcd9b (diff)
downloadFreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.zip
FreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.tar.gz
Fix up programs which expect <net/if.h> to include <sys/time.h> 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.
Diffstat (limited to 'libexec/bootpd/getether.c')
-rw-r--r--libexec/bootpd/getether.c3
1 files changed, 2 insertions, 1 deletions
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. <gwr@mc.com>
*
- * $Id$
+ * $Id: getether.c,v 1.4 1996/09/22 21:52:09 wosch Exp $
*/
#include <sys/types.h>
@@ -111,6 +111,7 @@ getether(ifname, eap)
#if defined(__FreeBSD__) || defined(__NetBSD__)
/* Thanks to John Brezak <brezak@ch.hp.com> for this code. */
#include <sys/ioctl.h>
+#include <sys/time.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
OpenPOWER on IntegriCloud