summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/pread_write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/pread_write.c b/libc/sysdeps/linux/common/pread_write.c
index 1d068067b..3c0df19a3 100644
--- a/libc/sysdeps/linux/common/pread_write.c
+++ b/libc/sysdeps/linux/common/pread_write.c
@@ -16,6 +16,7 @@
#include <sys/syscall.h>
#include <unistd.h>
#include <stdint.h>
+#include <endian.h>
extern __typeof(pread) __libc_pread;
extern __typeof(pwrite) __libc_pwrite;