about summary refs log tree commit diff
path: root/src/fcntl/openat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/openat.c')
-rw-r--r--src/fcntl/openat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fcntl/openat.c b/src/fcntl/openat.c
index e741336c..ad165ec3 100644
--- a/src/fcntl/openat.c
+++ b/src/fcntl/openat.c
@@ -1,7 +1,6 @@
 #include <fcntl.h>
 #include <stdarg.h>
 #include "syscall.h"
-#include "libc.h"
 
 int openat(int fd, const char *filename, int flags, ...)
 {
@@ -17,4 +16,4 @@ int openat(int fd, const char *filename, int flags, ...)
 	return syscall_cp(SYS_openat, fd, filename, flags|O_LARGEFILE, mode);
 }
 
-LFS64(openat);
+weak_alias(openat, openat64);