tools/include headers contain old, incomplete versions?
Username: Andy Walsh
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1779
I tried to add a package that includes <elf.h> on host and this comes from the tools/include files. The build failed because “AT_HWCAP2” was undefined.
After comparing the host distro against tools/include its clear that those files are quite old “1995-2012” vs “1995-2018”.
So why do we keep those few headers around in a old version anyway and not use the host headers?
If they are just some old copy’s, than maybe they should at least be updated?