Resent this patch with a better message in the other patch queue (see [0]), so this one can be dropped. [0]: https://www.mail-archive.com/barebox@xxxxxxxxxxxxxxxxxxx/msg27250.html - Roland On Fri, Jul 27, 2018 at 03:45:55PM +0200, Roland Hieber wrote: > The code below uses EPERM, which is defined in errno.h. > > Signed-off-by: Roland Hieber <r.hieber@xxxxxxxxxxxxxx> > --- > include/hab.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/hab.h b/include/hab.h > index fb7149ef53..78c2b865ba 100644 > --- a/include/hab.h > +++ b/include/hab.h > @@ -18,6 +18,8 @@ > #ifndef __HABV4_H > #define __HABV4_H > > +#include <errno.h> > + > #ifdef CONFIG_HABV4 > int imx28_hab_get_status(void); > int imx6_hab_get_status(void); > -- > 2.18.0 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Roland Hieber | r.hieber@xxxxxxxxxxxxxx | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox