diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/truncate64.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/truncate64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/truncate64.c b/sysdeps/unix/sysv/linux/truncate64.c index 4fe446475a..d08adff5b6 100644 --- a/sysdeps/unix/sysv/linux/truncate64.c +++ b/sysdeps/unix/sysv/linux/truncate64.c @@ -26,7 +26,10 @@ #include "kernel-features.h" #ifdef __NR_truncate64 -static int have_no_truncate64; +#ifndef __ASSUME_TRUNCATE64_SYSCALL +/* The variable is shared between all wrappers around *truncate64 calls. */ +int have_no_truncate64; +#endif extern int __syscall_truncate64 (int fd, int high_length, int low_length); |