summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/sys/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index 37c1cb16c8..a01cd25507 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -49,8 +49,9 @@ typedef __ino64_t ino_t;
 # endif
 # define __ino_t_defined
 #endif
-#ifdef __USE_LARGEFILE64
+#if defined __USE_LARGEFILE64 && !defined __ino64_t_defined
 typedef __ino64_t ino64_t;
+# define __ino64_t_defined
 #endif
 
 #ifndef __dev_t_defined