summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig
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 /sbin/ifconfig
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 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index f23e66d..0bd94ea 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 <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <net/if.h>
#include <net/if_dl.h>
OpenPOWER on IntegriCloud