summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
Diffstat (limited to 'dirent')
-rw-r--r--dirent/dirent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirent/dirent.h b/dirent/dirent.h
index 7154b52c85..f64c7fcfa5 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -38,8 +38,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
 #endif