about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/open64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/posix/open64.c b/sysdeps/posix/open64.c
index 844513fc8d..a90420a48a 100644
--- a/sysdeps/posix/open64.c
+++ b/sysdeps/posix/open64.c
@@ -18,6 +18,7 @@
 
 #include <fcntl.h>
 #include <stdarg.h>
+#include <bp-sym.h>
 
 /* Open FILE with access OFLAG.  If OFLAG includes O_CREAT,
    a third argument is the file protection.  */
@@ -36,5 +37,5 @@ __libc_open64 (const char *file, int oflag, ...)
 
   return __libc_open (file, oflag | O_LARGEFILE, mode);
 }
-weak_alias (__libc_open64, __open64)
-weak_alias (__libc_open64, open64)
+weak_alias (__libc_open64, BP_SYM (__open64))
+weak_alias (__libc_open64, BP_SYM (open64))