cputopology - define 'CPU_ALLOC' and all the other macros and functions when missing

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
Fix the build for systems without 'linux/if_link.h' (again)

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
Fix the "implicit definition of 'getline'" warnings by adding the required '#define _GNU_SOURCE'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
cputopology lib - add a missing header file

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>