scripts: compiler.h: include <sys/types.h>
PATCH 1/1 scripts: compiler.h: include <sys/types.h>
ulong is not a standard type, so it has to be defined explicitly.
Signed-off-by Robert Karszniewicz <[email protected]>
---
This fixes compile errors on musl when building the sandbox.
scripts/compiler.h | 1 + 1 file changed, 1 insertion(+)
scripts/compiler.h +1 -0
@@ -62,6 +62,7 @@ typedef unsigned int uint; defined(__NetBSD__) || defined(__DragonFly__)# include <sys/endian.h> #else /* assume Linux */ +# include <sys/types.h> # include <endian.h> # include <byteswap.h> #endif
Signature · 7 lines
2.28.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 8 lines · Robert Karszniewicz
ulong is not a standard type, so it has to be defined explicitly.
Signed-off-by Robert Karszniewicz <[email protected]>---
This fixes compile errors on musl when building the sandbox.scripts/compiler.h | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
Quoted 22 lines
scripts/compiler.h +1
-0@@ -62,6 +62,7 @@ typedef unsigned int uint; defined(__NetBSD__) || defined(__DragonFly__)# include <sys/endian.h> #else /* assume Linux */ +# include <sys/types.h> # include <endian.h> # include <byteswap.h> #endif Signature · 7 lines
2.28.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox