diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-04 12:11:08 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2018-07-05 21:06:40 +0200 |
commit | e893aab0d12284c8909ebacfca529c0b554abb9c (patch) | |
tree | 7c50c7de9492e68b36ef7dbfedca4404aa198c60 /libdw | |
parent | d612684109f0395b86e4aaad9ba94e02f79a099a (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 <ross.burton@intel.com>
Diffstat (limited to 'libdw')
-rw-r--r-- | libdw/ChangeLog | 4 | ||||
-rw-r--r-- | libdw/libdw_alloc.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog index da7ed9d0..cb4f34ed 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2018-07-04 Ross Burton <ross.burton@intel.com> + + * libdw_alloc.c: Remove error.h include. + 2018-06-28 Mark Wielaard <mark@klomp.org> * dwarf_next_cfi.c (dwarf_next_cfi): Check whether length is zero. diff --git a/libdw/libdw_alloc.c b/libdw/libdw_alloc.c index d6af23a2..f1e08714 100644 --- a/libdw/libdw_alloc.c +++ b/libdw/libdw_alloc.c @@ -31,7 +31,6 @@ # include <config.h> #endif -#include <error.h> #include <errno.h> #include <stdlib.h> #include "libdwP.h" |