Skip to contentSkip to conversation

atop: fix minor() major() build failure

PATCH New Ricardo Martincoski 1 participant 1 message Aug 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 atop: fix minor() major() build failure

Hello,

[re-sending only to the list after I updated my e-mail address (.ind.br -> .com.br) in
the mailing list subscription.]

Quoted 6 lines · Giulio Benetti

On arm / cortex-a8 Arch/Subarch sys/types.h doesn't include sys/sysmacros.h which contains minor() and major() macros.

Add patch to directly include <sys/sysmacros.h> into photosyst.c where minor() and major() macros are used.

Quoted 7 lines

Patch has been taken from atop upstream pull request:
https://github.com/Atoptool/atop/pull/35

Fixes
http://autobuild.buildroot.net/results/3fc/3fc0f18ed94697c404e7ff3751781789170c4fe5//

Regards,
--
Ricardo Martincoski
DATACOM
Ethernet Switches
Rua Am?rica, 1000 - Eldorado do Sul, RS - 92990-000 - Brasil +55 51 3933 3000 - Ramal 3307
ricardo.martincoski at datacom.com.br www.datacom.com.br