Do not use the system provided elf.h, and instead use elfstructs.h
from libelf.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
tools/firmware/hvmloader/32bitbios_support.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/firmware/hvmloader/32bitbios_support.c b/tools/firmware/hvmloader/32bitbios_support.c
index 114135022e..e726946a7b 100644
--- a/tools/firmware/hvmloader/32bitbios_support.c
+++ b/tools/firmware/hvmloader/32bitbios_support.c
@@ -21,7 +21,7 @@
*/
#include <inttypes.h>
-#include <elf.h>
+#include <xen/libelf/elfstructs.h>
#ifdef __sun__
#include <sys/machelf.h>
#endif
--
2.30.1