summaryrefslogtreecommitdiff
path: root/fedora/glibc.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'fedora/glibc.spec.in')
-rw-r--r--fedora/glibc.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index 987ee270cb..0f38af7f11 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -295,7 +295,6 @@ cat > override_headers/asm/unistd.h <<EOF
#define __NR_mknodat 297
#define __NR_fchownat 298
#define __NR_futimesat 299
-#define __NR_fstatat64 300
#define __NR_unlinkat 301
#define __NR_renameat 302
#define __NR_linkat 303
@@ -304,6 +303,9 @@ cat > override_headers/asm/unistd.h <<EOF
#define __NR_fchmodat 306
#define __NR_faccessat 307
#endif
+#ifndef __NR_fstatat64
+#define __NR_fstatat64 300
+#endif
#ifndef __NR_pselect6
#define __NR_pselect6 308
#define __NR_ppoll 309