aboutsummaryrefslogtreecommitdiff
path: root/time/strptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/strptime.c')
-rw-r--r--time/strptime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time/strptime.c b/time/strptime.c
index 20b39dbfe3..5f8271e250 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -156,6 +156,7 @@ localtime_r (t, tp)
#ifdef _LIBC
/* This is defined in locale/C-time.c in the GNU libc. */
+extern const struct locale_data _nl_C_LC_TIME;
extern const unsigned short int __mon_yday[2][13];
# define weekday_name (&_nl_C_LC_TIME.values[_NL_ITEM_INDEX (DAY_1)].string)