[Buildroot] [PATCH-2018.02.x] cramfs: fix minor()/major() build failure due to glibc 2.28
Peter Korsgaard
peter at korsgaard.com
Sun Sep 30 08:47:00 UTC 2018
>>>>> "Giulio" == Giulio Benetti <giulio.benetti at micronovasrl.com> writes:
> glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
> and therefore <sys/sysmacros.h> must be included explicitly when
> major()/minor() are used.
> This commit adds a patch to directly include <sys/sysmacros.h> into
> cramfsck.c and mkcramfs.c where minor() and major() macros are used.
> Fixes:
> http://autobuild.buildroot.net/results/8c5/8c5997017568f8be1d2f664998fb2fdc433a51d3/
> http://autobuild.buildroot.net/results/fad/fad1553d45a8c35ba84c5c340410e99322e21c44/
> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
Committed to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list