summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/open64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/open64.c')
-rw-r--r--libc/sysdeps/linux/common/open64.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c
index c1f5400b8..91931fa70 100644
--- a/libc/sysdeps/linux/common/open64.c
+++ b/libc/sysdeps/linux/common/open64.c
@@ -4,7 +4,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include <features.h>
+#include <_lfs_64.h>
#include <fcntl.h>
#include <stdarg.h>
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
@@ -12,8 +12,6 @@
#include <sysdep-cancel.h>
#endif
-#ifdef __UCLIBC_HAS_LFS__
-
#ifndef O_LARGEFILE
# define O_LARGEFILE 0100000
#endif
@@ -53,5 +51,3 @@ libc_hidden_def(open64)
libc_hidden_weak(open64)
strong_alias(open64,__libc_open64)
#endif
-
-#endif /* __UCLIBC_HAS_LFS__ */