Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
+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.
#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. */