summaryrefslogtreecommitdiff
path: root/libdw/memory-access.h
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-10-21 02:25:44 +0800
committerMark Wielaard <mark@klomp.org>2022-10-27 15:24:46 +0200
commit8aa88041e0e33a5fd9ec6e7e04cc72a58f764d7f (patch)
treefa73c00f8101b68b7b124dd3a749e27e4685ac12 /libdw/memory-access.h
parent10f01dad96325706c746000e467e2a33197e6ea2 (diff)
downloadelfutils-8aa88041e0e33a5fd9ec6e7e04cc72a58f764d7f.tar.gz
libdw: Use #include <system.h> instead of <endian.h> in memory-access.h
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Diffstat (limited to 'libdw/memory-access.h')
-rw-r--r--libdw/memory-access.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdw/memory-access.h b/libdw/memory-access.h
index 800b517c..16c8c851 100644
--- a/libdw/memory-access.h
+++ b/libdw/memory-access.h
@@ -29,11 +29,10 @@
#ifndef _MEMORY_ACCESS_H
#define _MEMORY_ACCESS_H 1
-#include <byteswap.h>
-#include <endian.h>
#include <limits.h>
#include <stdint.h>
+#include <system.h>
/* Number decoding macros. See 7.6 Variable Length Data. */