X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fdtime.c;h=14359557723ac3328ec09b1179ebc572d10da182;hp=8cb4c799d36108fe0e1c4284a1ce161fd200c85d;hb=faa066cb24d3308ab5d2c40ed145ecb3940461bf;hpb=11cf7b43a23ad3e3b7d80e485c90c4e0ab9b6066 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 */