hvmloader: use Xen private header for elf structs

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>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
This commit is contained in:
Roger Pau Monné authored and Jan Beulich committed 2021-02-24 12:48:13 +01:00
1 parent 10bb8aa0d5
commit 81b2b328a2
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@
*/
#include <inttypes.h>
#include <elf.h>
#include <xen/libelf/elfstructs.h>
#ifdef __sun__
#include <sys/machelf.h>
#endif
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.