projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4d3eb9a
)
kernel/vinum: Fix userland fallout from my -Wundef kernel fixes.
author
Sascha Wildner <saw@online.de>
Sun, 17 Feb 2013 00:23:47 +0000 (
01:23
+0100)
committer
Sascha Wildner <saw@online.de>
Sun, 17 Feb 2013 00:23:47 +0000 (
01:23
+0100)
This file is used in userland too, so make the inclusion of opt_vinum.h
kernel specific (as is the code that uses its VINUMDEBUG).
Reported-by: Max Herrgard <herrgard@gmail.com>
sys/dev/raid/vinum/vinumvar.h
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/raid/vinum/vinumvar.h
b/sys/dev/raid/vinum/vinumvar.h
index
9bf957e
..
5e39b1f
100644
(file)
--- a/
sys/dev/raid/vinum/vinumvar.h
+++ b/
sys/dev/raid/vinum/vinumvar.h
@@
-38,7
+38,9
@@
* advised of the possibility of such damage.
*/
+#ifdef _KERNEL
#include "opt_vinum.h"
+#endif
#include <sys/time.h>
#include "vinumstate.h"