Source-Changes-HG archive

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

[src/trunk]: src/sys/netiso Only include opt_*.h if we're building a kernel.



details:   https://anonhg.NetBSD.org/src/rev/5f45f3178806
branches:  trunk
changeset: 474573:5f45f3178806
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jul 11 21:28:08 1999 +0000

description:
Only include opt_*.h if we're building a kernel.

diffstat:

 sys/netiso/iso.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0960c1ff376d -r 5f45f3178806 sys/netiso/iso.c
--- a/sys/netiso/iso.c  Sun Jul 11 20:37:39 1999 +0000
+++ b/sys/netiso/iso.c  Sun Jul 11 21:28:08 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iso.c,v 1.23 1999/04/14 16:26:42 chopps Exp $  */
+/*     $NetBSD: iso.c,v 1.24 1999/07/11 21:28:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -87,7 +87,10 @@
 #include <netiso/clnp.h>
 #include <netiso/argo_debug.h>
 
+#if defined(_KERNEL) && !defined(_LKM)
 #include "opt_iso.h"
+#endif
+
 #ifdef ISO
 
 int             iso_interfaces = 0;    /* number of external interfaces */



Home | Main Index | Thread Index | Old Index