X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c79c37f2b6e647212c36b63841a4628af01c774a..636b3bab53e3fc2154bb86fb02aeecf433cc977a:/sbr/dtime.c diff --git a/sbr/dtime.c b/sbr/dtime.c index 8cb4c799..14359557 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -169,7 +169,7 @@ dlocaltime (time_t *clock) if (tm->tm_isdst) tw.tw_flags |= TW_DST; -#ifdef HAVE_TM_GMTOFF +#ifdef HAVE_STRUCT_TM_TM_GMTOFF tw.tw_zone = tm->tm_gmtoff / 60; if (tm->tm_isdst) /* if DST is in effect */ tw.tw_zone -= 60; /* reset to normal offset */