Source-Changes-HG archive

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

[src/trunk]: src/sys/net don't include the config-generated headers if _LKM d...



details:   https://anonhg.NetBSD.org/src/rev/e2628bcfc1a3
branches:  trunk
changeset: 494158:e2628bcfc1a3
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Jul 03 02:16:07 2000 +0000

description:
don't include the config-generated headers if _LKM defined

diffstat:

 sys/net/netisr.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r ef6ab4758169 -r e2628bcfc1a3 sys/net/netisr.h
--- a/sys/net/netisr.h  Mon Jul 03 02:07:15 2000 +0000
+++ b/sys/net/netisr.h  Mon Jul 03 02:16:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netisr.h,v 1.22 2000/07/02 19:58:31 cgd Exp $ */
+/* $NetBSD: netisr.h,v 1.23 2000/07/03 02:16:07 cgd Exp $ */
 
 /*
  * Copyright (c) 1980, 1986, 1989, 1993
@@ -52,6 +52,7 @@
 
 #if defined(_KERNEL)
 
+#if !defined(_LKM)
 #include "opt_inet.h"    
 #include "opt_atalk.h"
 #include "opt_ccitt.h"   
@@ -60,6 +61,7 @@
 #include "opt_natm.h" 
 #include "arp.h"
 #include "ppp.h"
+#endif /* !defined(_LKM) */
 
 #if !defined(_LOCORE)
 



Home | Main Index | Thread Index | Old Index