]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdw: Use #include <system.h> instead of <endian.h> in memory-access.h
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 20 Oct 2022 18:25:44 +0000 (02:25 +0800)
committerMark Wielaard <mark@klomp.org>
Thu, 27 Oct 2022 13:24:46 +0000 (15:24 +0200)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
libdw/ChangeLog
libdw/memory-access.h

index b14b53833b96c0754510b5c5e16d734777731daf..28bb0b2a10d63f31255f7ca37abfc5242bb0b239 100644 (file)
@@ -1,3 +1,8 @@
+2022-10-21  Yonggang Luo  <luoyonggang@gmail.com>
+
+       * memory-access.h: Include system.h instead of byteswap.h and
+       endian.h.
+
 2022-09-20  Yonggang Luo  <luoyonggang@gmail.com>
 
        * memory-access.h: Use BYTE_ORDER, LITTLE_ENDIAN and BIG_ENDIAN.
index 800b517c7cbd6738cde1bfcbbed420352f2ed7f6..16c8c851783a25a28f20b93a99d3d506a0e51eff 100644 (file)
 #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.  */