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.
This commit is contained in:
Garrett Wollman
1996-12-10 17:11:53 +00:00
parent fc43f97826
commit 628d2ac1b0
29 changed files with 119 additions and 86 deletions
+2 -1
View File
@@ -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>