From: Sascha Hauer <s.hauer@pengutronix.de>
To: Robert Karszniewicz <avoidr@posteo.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] scripts: compiler.h: include <sys/types.h>
Date: Mon, 21 Sep 2020 07:52:28 +0200 [thread overview]
Message-ID: <20200921055228.GA21278@pengutronix.de> (raw)
In-Reply-To: <20200919204133.31990-1-avoidr@posteo.de>
On Sat, Sep 19, 2020 at 10:41:33PM +0200, Robert Karszniewicz wrote:
> ulong is not a standard type, so it has to be defined explicitly.
>
> Signed-off-by: Robert Karszniewicz <avoidr@posteo.de>
> ---
> This fixes compile errors on musl when building the sandbox.
>
> scripts/compiler.h | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
>
> diff --git a/scripts/compiler.h b/scripts/compiler.h
> index 0ad25f9e8..c932f715c 100644
> --- a/scripts/compiler.h
> +++ b/scripts/compiler.h
> @@ -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
> --
> 2.28.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-09-21 5:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-19 20:41 Robert Karszniewicz
2020-09-21 5:52 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200921055228.GA21278@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=avoidr@posteo.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox