Include <sys/types.h> explicitly instead of depending on that

header being included by <sys/param.h>. When compiled as part
of makefs(8) and on macOS or Linux, <sys/param.h> is not our
own.
This commit is contained in:
Marcel Moolenaar 2016-10-24 18:12:57 +00:00
parent 07f862a769
commit d67ec19c3e

View File

@ -33,6 +33,7 @@
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h>
#include <ufs/ufs/dinode.h> #include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h> #include <ufs/ffs/fs.h>