Make this compile with XNS enabled
This commit is contained in:
parent
0f0d66d66e
commit
62fc149c0b
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: if_bm.c,v 1.21 2003/07/15 02:43:28 lukem Exp $ */
|
/* $NetBSD: if_bm.c,v 1.22 2004/04/18 23:32:21 matt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (C) 1998, 1999, 2000 Tsubai Masanari. All rights reserved.
|
* Copyright (C) 1998, 1999, 2000 Tsubai Masanari. All rights reserved.
|
||||||
@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: if_bm.c,v 1.21 2003/07/15 02:43:28 lukem Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: if_bm.c,v 1.22 2004/04/18 23:32:21 matt Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_ns.h"
|
#include "opt_ns.h"
|
||||||
@ -45,6 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_bm.c,v 1.21 2003/07/15 02:43:28 lukem Exp $");
|
|||||||
#include <uvm/uvm_extern.h>
|
#include <uvm/uvm_extern.h>
|
||||||
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
#include <net/if_dl.h>
|
||||||
#include <net/if_ether.h>
|
#include <net/if_ether.h>
|
||||||
#include <net/if_media.h>
|
#include <net/if_media.h>
|
||||||
|
|
||||||
@ -57,6 +58,11 @@ __KERNEL_RCSID(0, "$NetBSD: if_bm.c,v 1.21 2003/07/15 02:43:28 lukem Exp $");
|
|||||||
#include <netinet/if_inarp.h>
|
#include <netinet/if_inarp.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef NS
|
||||||
|
#include <netns/ns.h>
|
||||||
|
#include <netns/ns_if.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <dev/ofw/openfirm.h>
|
#include <dev/ofw/openfirm.h>
|
||||||
|
|
||||||
#include <dev/mii/mii.h>
|
#include <dev/mii/mii.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user