Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev Make this compile with XNS enabled
details: https://anonhg.NetBSD.org/src/rev/2d6c77b6c37e
branches: trunk
changeset: 565726:2d6c77b6c37e
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 18 23:32:21 2004 +0000
description:
Make this compile with XNS enabled
diffstat:
sys/arch/macppc/dev/if_bm.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 9490a29c4cde -r 2d6c77b6c37e sys/arch/macppc/dev/if_bm.c
--- a/sys/arch/macppc/dev/if_bm.c Sun Apr 18 23:31:45 2004 +0000
+++ b/sys/arch/macppc/dev/if_bm.c Sun Apr 18 23:32:21 2004 +0000
@@ -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.
@@ -27,7 +27,7 @@
*/
#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_ns.h"
@@ -45,6 +45,7 @@
#include <uvm/uvm_extern.h>
#include <net/if.h>
+#include <net/if_dl.h>
#include <net/if_ether.h>
#include <net/if_media.h>
@@ -57,6 +58,11 @@
#include <netinet/if_inarp.h>
#endif
+#ifdef NS
+#include <netns/ns.h>
+#include <netns/ns_if.h>
+#endif
+
#include <dev/ofw/openfirm.h>
#include <dev/mii/mii.h>
Home |
Main Index |
Thread Index |
Old Index