svn commit: r251382 - head/sys/dev/filemon
John Baldwin
jhb at FreeBSD.org
Tue Jun 4 15:35:38 UTC 2013
Author: jhb
Date: Tue Jun 4 15:35:37 2013
New Revision: 251382
URL: http://svnweb.freebsd.org/changeset/base/251382
Log:
Build fix: Only <sys/cdefs.h> should be included before __FBSDID().
<sys/param.h> needs to be included after any "opt_foo.h" headers so it
sees the same set of defined macros as other headers.
Modified:
head/sys/dev/filemon/filemon.c
Modified: head/sys/dev/filemon/filemon.c
==============================================================================
--- head/sys/dev/filemon/filemon.c Tue Jun 4 15:27:41 2013 (r251381)
+++ head/sys/dev/filemon/filemon.c Tue Jun 4 15:35:37 2013 (r251382)
@@ -25,11 +25,12 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_compat.h"
+#include <sys/param.h>
#include <sys/file.h>
#include <sys/systm.h>
#include <sys/buf.h>
More information about the svn-src-head
mailing list