X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fdtime.c;h=2e978d7984f6217c47f4b401b02fc77dd699d2ed;hp=8cb4c799d36108fe0e1c4284a1ce161fd200c85d;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=c79c37f2b6e647212c36b63841a4628af01c774a diff --git a/sbr/dtime.c b/sbr/dtime.c index 8cb4c79..2e978d7 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -2,8 +2,6 @@ /* * dtime.c -- time/date routines * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -169,7 +167,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 */