summaryrefslogtreecommitdiff
path: root/tests/dwarfcfi.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/dwarfcfi.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/dwarfcfi.c')
-rw-r--r--tests/dwarfcfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dwarfcfi.c b/tests/dwarfcfi.c
index db4a36ff..29849e71 100644
--- a/tests/dwarfcfi.c
+++ b/tests/dwarfcfi.c
@@ -18,7 +18,6 @@
#include <config.h>
#include <assert.h>
#include <inttypes.h>
-#include <error.h>
#include ELFUTILS_HEADER(dw)
#include <dwarf.h>
#include <argp.h>
@@ -30,6 +29,7 @@
#include <stdlib.h>
#include <string.h>
+#include "system.h"
#include "../libdw/known-dwarf.h"
static const char *