elfutils: fix aarch64-musl build

This commit is contained in:
Michael Gehring 2017-03-08 17:29:04 +00:00
parent b20f93abef
commit d56655118e

View file

@ -3,15 +3,16 @@ Casting to Dwarf_Word instead of & 0xFFFFFFF should do.
--- backends/aarch64_initreg.c 2015-11-27 14:36:29.000000000 +0100
+++ backends/aarch64_initreg.c 2016-08-09 03:47:25.428560159 +0200
@@ -33,7 +33,6 @@
@@ -33,7 +33,7 @@
#include "system.h"
#include <assert.h>
#ifdef __aarch64__
-# include <linux/uio.h>
+# include <sys/uio.h>
# include <sys/user.h>
# include <sys/ptrace.h>
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
@@ -82,7 +82,7 @@
@@ -82,7 +83,7 @@
Dwarf_Word dwarf_fregs[32];
for (int r = 0; r < 32; r++)