kvm tools, bios: Don't include glibc headers
We should not include glibc headers from BIOS code which can't rely on glibc at
This patch fixes the following build breakage on 64-bit:
In file included from /usr/include/features.h:387:0,
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated.
make: *** [bios/bios.bin.elf] Error 1
when built without the 'glibc-devel.i686' package on Fedora, for example.
Cc: Asias He <firstname.lastname@example.org>
Cc: Ingo Molnar <email@example.com>
Cc: Sasha Levin <firstname.lastname@example.org>
Acked-by: Cyrill Gorcunov <email@example.com>
Signed-off-by: Pekka Enberg <firstname.lastname@example.org>
3 files changed