summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-01-03 20:19:50 +0000
committerwollman <wollman@FreeBSD.org>1997-01-03 20:19:50 +0000
commit5972643f58355298ad5382ed2e5cf054930f6927 (patch)
tree921b9687fd07168367a910cfcaa9fef197354830 /libexec
parente9eee4f4075fde5691b87c6d72f173e550b0fb4c (diff)
downloadFreeBSD-src-5972643f58355298ad5382ed2e5cf054930f6927.zip
FreeBSD-src-5972643f58355298ad5382ed2e5cf054930f6927.tar.gz
Update to match changes in <net/if.h>.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/bootpd/lookup.c4
-rw-r--r--libexec/bootpd/rtmsg.c3
-rw-r--r--libexec/rpc.rstatd/rstat_proc.c3
3 files changed, 5 insertions, 5 deletions
diff --git a/libexec/bootpd/lookup.c b/libexec/bootpd/lookup.c
index b5b51b5..aa73cda 100644
--- a/libexec/bootpd/lookup.c
+++ b/libexec/bootpd/lookup.c
@@ -1,7 +1,7 @@
/*
* lookup.c - Lookup IP address, HW address, netmask
*
- * $Id: lookup.c,v 1.2 1996/09/22 21:52:21 wosch Exp $
+ * $Id: lookup.c,v 1.3 1996/12/10 17:05:33 wollman Exp $
*/
#include <sys/types.h>
@@ -12,7 +12,7 @@
#include <netinet/in.h>
#ifdef ETC_ETHERS
-#include <netinet/if_ether.h>
+#include <net/ethernet.h>
extern int ether_hostton();
#endif
diff --git a/libexec/bootpd/rtmsg.c b/libexec/bootpd/rtmsg.c
index 0338a95..1430be9 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.4 1995/05/30 05:45:49 rgrimes Exp $
+ * $Id: rtmsg.c,v 1.5 1996/12/10 17:05:35 wollman Exp $
*/
#include <sys/param.h>
@@ -54,6 +54,7 @@
#include <sys/time.h>
#include <net/if.h>
+#include <net/if_var.h> /* needed for if_ether.h XXX */
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/route.h>
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c
index 451e6c2..b8eeb35 100644
--- a/libexec/rpc.rstatd/rstat_proc.c
+++ b/libexec/rpc.rstatd/rstat_proc.c
@@ -29,7 +29,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";*/
/*static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";*/
-static char rcsid[] = "$Id: rstat_proc.c,v 1.3 1995/05/30 05:46:28 rgrimes Exp $";
+static char rcsid[] = "$Id: rstat_proc.c,v 1.4 1996/12/11 19:11:52 wollman Exp $";
#endif
/*
@@ -299,7 +299,6 @@ updatestat()
setup()
{
- struct ifnet ifnet;
int off;
char errbuf[_POSIX2_LINE_MAX];
OpenPOWER on IntegriCloud