summaryrefslogtreecommitdiffstats
path: root/tests/backtrace-data.c
diff options
context:
space:
mode:
authorRoss Burton <[email protected]>2018-07-04 12:11:08 +0100
committerMark Wielaard <[email protected]>2018-07-05 21:06:40 +0200
commite893aab0d12284c8909ebacfca529c0b554abb9c (patch)
tree7c50c7de9492e68b36ef7dbfedca4404aa198c60 /tests/backtrace-data.c
parentd612684109f0395b86e4aaad9ba94e02f79a099a (diff)
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 <[email protected]>
Diffstat (limited to 'tests/backtrace-data.c')
-rw-r--r--tests/backtrace-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtrace-data.c b/tests/backtrace-data.c
index a387d8ff..67ecd475 100644
--- a/tests/backtrace-data.c
+++ b/tests/backtrace-data.c
@@ -27,7 +27,6 @@
#include <dirent.h>
#include <stdlib.h>
#include <errno.h>
-#include <error.h>
#include <unistd.h>
#include <dwarf.h>
#if defined(__x86_64__) && defined(__linux__)
@@ -41,6 +40,7 @@
#include <string.h>
#include ELFUTILS_HEADER(dwfl)
#endif
+#include "system.h"
#if !defined(__x86_64__) || !defined(__linux__)