Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 22:53:14 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270315 - head/cddl/contrib/opensolaris/cmd/lockstat
Message-ID:  <201408212253.s7LMrEfj041124@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Thu Aug 21 22:53:14 2014
New Revision: 270315
URL: http://svnweb.freebsd.org/changeset/base/270315

Log:
  Include two headers to provide prototype for modfind(2) and kldload(2).
  
  MFC after:	2 weeks

Modified:
  head/cddl/contrib/opensolaris/cmd/lockstat/sym.c

Modified: head/cddl/contrib/opensolaris/cmd/lockstat/sym.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/lockstat/sym.c	Thu Aug 21 22:49:41 2014	(r270314)
+++ head/cddl/contrib/opensolaris/cmd/lockstat/sym.c	Thu Aug 21 22:53:14 2014	(r270315)
@@ -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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408212253.s7LMrEfj041124>