summaryrefslogtreecommitdiff
path: root/lib/libc/endian/be16toh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/endian/be16toh.c')
-rw-r--r--lib/libc/endian/be16toh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/endian/be16toh.c b/lib/libc/endian/be16toh.c
index 40793f93..9a5e8ff3 100644
--- a/lib/libc/endian/be16toh.c
+++ b/lib/libc/endian/be16toh.c
@@ -1,4 +1,5 @@
-#include <endian.h>
+#include <endian.h> // for be16toh
+#include <stdint.h> // for uint16_t
uint16_t be16toh(uint16_t big_endian_16bits)
{