summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/ia64/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/fxstat.c')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/fxstat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/fxstat.c b/sysdeps/unix/sysv/linux/ia64/fxstat.c
index 2783c0f7bf..297762e276 100644
--- a/sysdeps/unix/sysv/linux/ia64/fxstat.c
+++ b/sysdeps/unix/sysv/linux/ia64/fxstat.c
@@ -20,6 +20,10 @@
/* Ho hum, since xstat == xstat64 we must get rid of the prototype or gcc
will complain since they don't strictly match. */
#define __fxstat64 __fxstat64_disable
+#define __fxstat64_internal __fxstat64_internal_disable
+/* To avoid the optimizations of using _internal functions define
+ NOT_IN_libc. */
+#define NOT_IN_libc 1
#include <errno.h>
#include <stddef.h>
@@ -32,6 +36,7 @@
extern int __syscall_fstat (int, struct stat *__unbounded);
#undef __fxstat
+#undef __fxstat64_internal
/* Get information about the file FD in BUF. */
int