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> _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"