aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/search/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/search/hash.c')
-rw-r--r--newlib/libc/search/hash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c
index 348cbaa..8f56b6b 100644
--- a/newlib/libc/search/hash.c
+++ b/newlib/libc/search/hash.c
@@ -110,7 +110,11 @@ __hash_open(file, flags, mode, info, dflags)
{
HTAB *hashp;
+#ifdef __USE_INTERNAL_STAT64
+ struct stat64 statbuf;
+#else
struct stat statbuf;
+#endif
DB *dbp;
int bpages, hdrsize, new_table, nsegs, save_errno;