summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/creat64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/creat64.c')
-rw-r--r--libc/sysdeps/linux/common/creat64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/creat64.c b/libc/sysdeps/linux/common/creat64.c
index 577ad14b5..550e88aab 100644
--- a/libc/sysdeps/linux/common/creat64.c
+++ b/libc/sysdeps/linux/common/creat64.c
@@ -17,14 +17,10 @@
02111-1307 USA. */
#include <_lfs_64.h>
-
-#ifdef __UCLIBC_HAS_LFS__
#include <fcntl.h>
-#include <sys/types.h>
/* Create FILE with protections MODE. */
int creat64(const char *file, mode_t mode)
{
return open64(file, O_WRONLY|O_CREAT|O_TRUNC, mode);
}
-#endif /* __UCLIBC_HAS_LFS__ */