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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user