summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/ldpart.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/ldpart.c')
-rw-r--r--newlib/libc/locale/ldpart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/locale/ldpart.c b/newlib/libc/locale/ldpart.c
index a284b9db2..595532298 100644
--- a/newlib/libc/locale/ldpart.c
+++ b/newlib/libc/locale/ldpart.c
@@ -57,7 +57,11 @@ __part_load_locale(const char *name,
char *p;
const char *plim;
char filename[PATH_MAX];
+#ifdef __USE_INTERNAL_STAT64
+ struct stat64 st;
+#else
struct stat st;
+#endif
size_t namesize;
size_t bufsize;
int save_using_locale;