Linux userspace needs sys/param.h to have the definition of roundup(). Signed-off-by: Ulrich Ölmann <u.oelmann@xxxxxxxxxxxxxx> --- common/state/backend_bucket_circular.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c index 059a531aa4b3..da7c8421ae93 100644 --- a/common/state/backend_bucket_circular.c +++ b/common/state/backend_bucket_circular.c @@ -23,6 +23,10 @@ #include <mtd/mtd-peb.h> #include <string.h> +#ifndef __BAREBOX__ +#include <sys/param.h> +#endif + #include "state.h" /* -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox