diff options
author | Bruce Evans <bde@FreeBSD.org> | 1996-10-12 19:49:43 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1996-10-12 19:49:43 +0000 |
commit | 4458ac71b1641eee26aa3883e5dcea6bb4429b2b (patch) | |
tree | 715865e54cd9bdfcb3c50cf8433ebb6486247758 /sys/dev/fxp | |
parent | bfcffdaf036dd820f25ab318f64af460a09b57f4 (diff) | |
download | src-4458ac71b1641eee26aa3883e5dcea6bb4429b2b.tar.gz src-4458ac71b1641eee26aa3883e5dcea6bb4429b2b.zip |
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>.
Notes
Notes:
svn path=/head/; revision=18892
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 75bc852476c0..63b8fb5d562d 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_fxp.c,v 1.19 1996/09/22 11:48:54 davidg Exp $ + * $Id: if_fxp.c,v 1.20 1996/09/29 10:20:45 davidg Exp $ */ /* @@ -39,6 +39,7 @@ #include <sys/mbuf.h> #include <sys/malloc.h> #include <sys/kernel.h> +#include <sys/socket.h> #include <sys/syslog.h> #include <net/if.h> |