Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net fix compilation on sun3x.



details:   https://anonhg.NetBSD.org/src/rev/379867c189a7
branches:  trunk
changeset: 479810:379867c189a7
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Dec 22 03:58:12 1999 +0000

description:
fix compilation on sun3x.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>

diffstat:

 sys/net/if_faith.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1aeeb0e97c8f -r 379867c189a7 sys/net/if_faith.c
--- a/sys/net/if_faith.c        Tue Dec 21 22:19:16 1999 +0000
+++ b/sys/net/if_faith.c        Wed Dec 22 03:58:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_faith.c,v 1.7 1999/12/13 15:17:19 itojun Exp $      */
+/*     $NetBSD: if_faith.c,v 1.8 1999/12/22 03:58:12 itojun Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -60,7 +60,7 @@
 #include <sys/ioctl.h>
 #endif
 #include <sys/time.h>
-#ifdef __bsdi__
+#if defined(__bsdi__) || defined(__NetBSD__)
 #include <machine/cpu.h>
 #endif
 



Home | Main Index | Thread Index | Old Index