diff options
author | bde <bde@FreeBSD.org> | 1996-10-12 19:49:43 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-12 19:49:43 +0000 |
commit | 8c49d9975c6bbd7704d4d1247e57ce623ee4dbf9 (patch) | |
tree | 715865e54cd9bdfcb3c50cf8433ebb6486247758 /sys/dev/ep | |
parent | a642135de9649b69941f77b4bac4756d39929ece (diff) | |
download | FreeBSD-src-8c49d9975c6bbd7704d4d1247e57ce623ee4dbf9.zip FreeBSD-src-8c49d9975c6bbd7704d4d1247e57ce623ee4dbf9.tar.gz |
Removed nested include if <sys/socket.h> from <net/if.h> and
<net/if_arp.h> and fixed the things that depended on it. The nested
include just allowed unportable programs to compile and made my
simple #include checking program report that networking code doesn't
need to include <sys/socket.h>.
Diffstat (limited to 'sys/dev/ep')
-rw-r--r-- | sys/dev/ep/if_ep_eisa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ep/if_ep_eisa.c b/sys/dev/ep/if_ep_eisa.c index 48ad8e3..3b05302 100644 --- a/sys/dev/ep/if_ep_eisa.c +++ b/sys/dev/ep/if_ep_eisa.c @@ -19,7 +19,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: 3c5x9.c,v 1.5 1996/09/06 23:06:53 phk Exp $ + * $Id: 3c5x9.c,v 1.6 1996/10/12 17:34:25 bde Exp $ */ #include "eisa.h" @@ -28,6 +28,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/socket.h> #include <machine/clock.h> |