Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 15:35:37 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251382 - head/sys/dev/filemon
Message-ID:  <201306041535.r54FZb7n047887@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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