summaryrefslogtreecommitdiffstats
path: root/libpdbg/kernel.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-20 16:29:20 +0930
committerAlistair Popple <alistair@popple.id.au>2017-09-22 12:13:41 +1000
commit908c6512c59b56198a58410de266691a066d0002 (patch)
tree2035df36f7966571713e12377d77b2e1b52161d2 /libpdbg/kernel.c
parente979fefacdd2e4f8acb543bbb735dc45edb1bc89 (diff)
downloadpdbg-908c6512c59b56198a58410de266691a066d0002.tar.gz
pdbg-908c6512c59b56198a58410de266691a066d0002.zip
kernel: Include endian.h for htobe32 and be32toh
This fixes a compile failure when cross compiling with musl libc under buildroot. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'libpdbg/kernel.c')
-rw-r--r--libpdbg/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c
index 17c7962..08411b0 100644
--- a/libpdbg/kernel.c
+++ b/libpdbg/kernel.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <err.h>
#include <inttypes.h>
+#include <endian.h>
#include "bitutils.h"
#include "operations.h"
OpenPOWER on IntegriCloud