浏览代码

need endian.h for __LONG_LONG_PAIR() macro

Mike Frysinger 19 年之前
父节点
当前提交
62ed67488c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/common/pread_write.c

+ 1 - 0
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;