aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-08-21 22:53:14 +0000
committerXin LI <delphij@FreeBSD.org>2014-08-21 22:53:14 +0000
commit600080d8a5235711967c76764750151292afab33 (patch)
treed608c3ea717ef67f222bfe917a0ae71e9e5ca35d /cddl/contrib/opensolaris/cmd
parent1fd407a76c41fc07e8e0a98c07e11bc81ec651de (diff)
downloadsrc-600080d8a5235711967c76764750151292afab33.tar.gz
src-600080d8a5235711967c76764750151292afab33.zip
Include two headers to provide prototype for modfind(2) and kldload(2).
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=270315
Diffstat (limited to 'cddl/contrib/opensolaris/cmd')
-rw-r--r--cddl/contrib/opensolaris/cmd/lockstat/sym.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/lockstat/sym.c b/cddl/contrib/opensolaris/cmd/lockstat/sym.c
index 1aa77ad3f314..5940c938d96c 100644
--- a/cddl/contrib/opensolaris/cmd/lockstat/sym.c
+++ b/cddl/contrib/opensolaris/cmd/lockstat/sym.c
@@ -50,6 +50,9 @@
/* FreeBSD */
#include <sys/elf.h>
#include <sys/ksyms.h>
+#include <sys/param.h>
+#include <sys/module.h>
+#include <sys/linker.h>
#endif
#include <sys/cpuvar.h>