about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/xstatconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/xstatconv.h')
-rw-r--r--sysdeps/unix/sysv/linux/xstatconv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/xstatconv.h b/sysdeps/unix/sysv/linux/xstatconv.h
index cb5cda0326..387a9feffc 100644
--- a/sysdeps/unix/sysv/linux/xstatconv.h
+++ b/sysdeps/unix/sysv/linux/xstatconv.h
@@ -19,7 +19,8 @@
 
 #include "kernel-features.h"
 
-
+#ifndef STAT_IS_KERNEL_STAT
 extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf);
 extern int __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf);
+#endif
 extern int __xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf);