[Buildroot] [PATCH] gpm: fix major() build failure due to glibc 2.28

Giulio Benetti giulio.benetti at micronovasrl.com
Sat Sep 15 13:17:44 UTC 2018


Il 15/09/2018 14:58, Giulio Benetti ha scritto:
> glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
> and therefore <sys/sysmacros.h> must be included explicitly when major()
> is used.
> 
> This commit adds a patch to directly include <sys/sysmacros.h> into
> open_console.c file where major() macro is used.

An upstream commit already exists.
I'm going to submit v2 with that.

Sorry

Best regards
-- 
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642



More information about the buildroot mailing list