aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/fxstat.c')
-rw-r--r--sysdeps/unix/sysv/linux/fxstat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/fxstat.c b/sysdeps/unix/sysv/linux/fxstat.c
index 2d4317c8cf..95466269fb 100644
--- a/sysdeps/unix/sysv/linux/fxstat.c
+++ b/sysdeps/unix/sysv/linux/fxstat.c
@@ -20,9 +20,11 @@
/* Ho hum, if 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
#include <errno.h>
#include <stddef.h>
+#include <sys/types.h>
#include <sys/stat.h>
#include <kernel_stat.h>
@@ -57,6 +59,7 @@ INTDEF(__fxstat)
weak_alias (__fxstat, _fxstat);
#ifdef XSTAT_IS_XSTAT64
#undef __fxstat64
+#undef __fxstat64_internal
strong_alias (__fxstat, __fxstat64);
INTDEF(__fxstat64)
#endif