summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-05-07 08:08:02 +0000
committergrog <grog@FreeBSD.org>1999-05-07 08:08:02 +0000
commit4f6fff14ba6d6cad50985169b0c92605f8e7fa77 (patch)
treeba51b61f6d99cfd32efd8e144b83f8d2ce7a4bd9 /sys/dev/vinum
parent598e0744042a9438042cdce28b513f6fa56aa383 (diff)
downloadFreeBSD-src-4f6fff14ba6d6cad50985169b0c92605f8e7fa77.zip
FreeBSD-src-4f6fff14ba6d6cad50985169b0c92605f8e7fa77.tar.gz
Include opt_vinum.h to get the VINUMDEBUG definition as early as
possible. This fixed a problem building LINT. Tripped-over-by: phk
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumhdr.h1
-rw-r--r--sys/dev/vinum/vinumkw.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinumhdr.h b/sys/dev/vinum/vinumhdr.h
index f4ded89..1baa60b 100644
--- a/sys/dev/vinum/vinumhdr.h
+++ b/sys/dev/vinum/vinumhdr.h
@@ -39,6 +39,7 @@
#include <sys/param.h>
#ifdef KERNEL
+#include "opt_vinum.h"
#include <sys/systm.h>
#include <sys/kernel.h>
#endif
diff --git a/sys/dev/vinum/vinumkw.h b/sys/dev/vinum/vinumkw.h
index 3a49f30..a71db2c 100644
--- a/sys/dev/vinum/vinumkw.h
+++ b/sys/dev/vinum/vinumkw.h
@@ -36,10 +36,6 @@
* $Id: vinumkw.h,v 1.12 1999/03/02 02:22:56 grog Exp grog $
*/
-#ifdef KERNEL
-#include "opt_vinum.h"
-#endif
-
/*
* Command keywords that vinum knows. These include both user-level
* and kernel-level stuff
OpenPOWER on IntegriCloud