atop: fix minor() major() build failure
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.hdoesn't includesys/sysmacros.hwhich containsminor()andmajor()macros.Add patch to directly include <
sys/sysmacros.h> intophotosyst.cwhereminor()andmajor()macros are used.
Quoted 7 lines
Patch has been taken from atop upstream pull request:
https://github.com/Atoptool/atop/pull/35Fixes
http://autobuild.buildroot.net/results/3fc/3fc0f18ed94697c404e7ff3751781789170c4fe5//Signed-off-by Giulio Benetti <[email protected]>
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