[Buildroot] [PATCH v2, 1/1] package/diffutils: fix build with uclibc < 1.0.35
Peter Korsgaard
peter at korsgaard.com
Thu Dec 2 17:41:19 UTC 2021
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
> Le jeu. 2 déc. 2021 à 18:17, Peter Korsgaard <peter at 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
More information about the buildroot
mailing list