[Buildroot] [PATCH 1/1] package/udisks: Fix compilation issue with missing sys/sysmacros.h

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 31 13:39:37 UTC 2018


Hello,

On Mon, 31 Dec 2018 11:15:51 +0200, Vadim Kochan wrote:
> It fixes compilation error with undefined "minor", "major" and
> "makedev" objects which caused by missing include of <sys/sysmacros.h>
> 
> These definitions were moved to <sys/sysmacros.h> in newer gibc.

It is not really that they have been moved: they were already in
sysmacros.h. However, sysmacros.h used to be included by sys/types.h,
and this inclusion got removed, so sysmacros.h must now be included
explicitly.

I fixed this in the commit log and in the patch description, made other
minor tweaks in the commit log, and applied. Thanks!

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list