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.
This commit is contained in:
John Baldwin 2013-06-04 15:35:37 +00:00
parent 82e825c4c9
commit af13de0f57

View File

@ -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>