X-Git-Url: https://sourceware.org/git/?a=blobdiff_plain;ds=sidebyside;f=time%2Fstrptime.c;h=5f8271e2504b52816fe094be1fbea2d6e7192c70;hb=a4f4b72b80dd7a36d65828d351716c45908c0ada;hp=20b39dbfe3caf89ebb75f7b0fa73c01b55c9d3bf;hpb=4b10dd6c1959577f57850ca427a94fe22b9f3299;p=glibc.git 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)