summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bitops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bitops.h b/include/bitops.h
index f05cbdb9d..e6eaff18c 100644
--- a/include/bitops.h
+++ b/include/bitops.h
@@ -2,6 +2,7 @@
#define BITOPS_H
#include <stdint.h>
+#include <endian.h>
#if !defined __BYTE_ORDER || !(__BYTE_ORDER == __LITTLE_ENDIAN) && !(__BYTE_ORDER == __BIG_ENDIAN)
#error missing __BYTE_ORDER