summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 07:16:47 +0000
committerphk <phk@FreeBSD.org>2002-10-16 07:16:47 +0000
commitbb72fa916d6b7f3e89ab4aa5020a2f938867b964 (patch)
treeebe4b6826d3df22c79ed974bd665537732f742a6 /sys/fs/devfs
parent4034fffb117fa2426d3825e8b273c932b57a1f4e (diff)
downloadFreeBSD-src-bb72fa916d6b7f3e89ab4aa5020a2f938867b964.zip
FreeBSD-src-bb72fa916d6b7f3e89ab4aa5020a2f938867b964.tar.gz
#include "opt_devfs.h" to protect against variable sized structures.
Spotted by: FlexeLint
Diffstat (limited to 'sys/fs/devfs')
-rw-r--r--sys/fs/devfs/devfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h
index f05ef56..0d34c97 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -39,6 +39,8 @@
#ifndef _FS_DEVFS_DEVFS_H_
#define _FS_DEVFS_DEVFS_H_
+#include "opt_devfs.h"
+
#define DEVFS_MAGIC 0xdb0a087a
/*
OpenPOWER on IntegriCloud