X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fdtime.c;h=14359557723ac3328ec09b1179ebc572d10da182;hb=6b7218e1ae606329bf2e45b08e2e46cb9f0fc998;hp=8cb4c799d36108fe0e1c4284a1ce161fd200c85d;hpb=c79c37f2b6e647212c36b63841a4628af01c774a;p=mmh diff --git a/sbr/dtime.c b/sbr/dtime.c index 8cb4c79..1435955 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 */