From: Peter Korsgaard <peter@korsgaard.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Buildroot Mailing List <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH v2, 1/1] package/diffutils: fix build with uclibc < 1.0.35
Date: Thu, 02 Dec 2021 18:41:19 +0100 [thread overview]
Message-ID: <87o85ydhvk.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <CAPi7W83yET5Hu32DaboR8G3E2Eg-LkUMwhoxo4-5TU5Y1d758Q@mail.gmail.com> (Fabrice Fontaine's message of "Thu, 2 Dec 2021 18:29:08 +0100")
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Le jeu. 2 déc. 2021 à 18:17, Peter Korsgaard <peter@korsgaard.com> a écrit :
>> > ++# ifndef __GLIBC__
>> > + # include <stddef.h>
>>
>> Are you sure that works? uClibc-ng defines __GLIBC__.
> Indeed, but as features.h is not included before this ifndef, it works
> (I build tested it).
> In my initial proposal, I included features.h and kept the ifdef
> __UCLIBC__ : https://lists.gnu.org/archive/html/bug-gnulib/2021-11/msg00045.html
> However, upstream preferred this solution.
> I don't really know if features.h is a uclibc-header or not.
Ok - Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2021-12-02 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-01 7:00 [Buildroot] [PATCH v2, 1/1] package/diffutils: fix build with uclibc < 1.0.35 Fabrice Fontaine
2021-12-02 17:17 ` Peter Korsgaard
2021-12-02 17:29 ` Fabrice Fontaine
2021-12-02 17:41 ` Peter Korsgaard [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=87o85ydhvk.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
/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