summaryrefslogtreecommitdiff
path: root/tests/dwfl-addr-sect.c
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-04 12:11:08 +0100
committerMark Wielaard <mark@klomp.org>2018-07-05 21:06:40 +0200
commite893aab0d12284c8909ebacfca529c0b554abb9c (patch)
tree7c50c7de9492e68b36ef7dbfedca4404aa198c60 /tests/dwfl-addr-sect.c
parentd612684109f0395b86e4aaad9ba94e02f79a099a (diff)
downloadelfutils-e893aab0d12284c8909ebacfca529c0b554abb9c.tar.gz
Consolidate error.h inclusion in system.h
error.h isn't standard and so isn't part of the musl C library. To easy future porting, consolidate the inclusion of error.h into system.h. https://sourceware.org/bugzilla/show_bug.cgi?id=21008 Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'tests/dwfl-addr-sect.c')
-rw-r--r--tests/dwfl-addr-sect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dwfl-addr-sect.c b/tests/dwfl-addr-sect.c
index 21e470a3..4d85c007 100644
--- a/tests/dwfl-addr-sect.c
+++ b/tests/dwfl-addr-sect.c
@@ -23,11 +23,11 @@
#include <stdio_ext.h>
#include <stdlib.h>
#include <string.h>
-#include <error.h>
#include <locale.h>
#include <argp.h>
#include ELFUTILS_HEADER(dwfl)
#include <dwarf.h>
+#include "system.h"
static int
handle_address (Dwfl *dwfl, Dwarf_Addr address)