X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fdtime.c;h=8cb4c799d36108fe0e1c4284a1ce161fd200c85d;hb=c79c37f2b6e647212c36b63841a4628af01c774a;hp=e485dfd8cf6981a1d5e02a0871acd3171a0ac377;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/dtime.c b/sbr/dtime.c index e485dfd..8cb4c79 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -13,7 +13,7 @@ #include #include -#if !defined(HAVE_TM_GMTOFF) && !defined(HAVE_TZSET) +#if !defined(HAVE_STRUCT_TM_TM_GMTOFF) && !defined(HAVE_TZSET) # include #endif @@ -28,7 +28,7 @@ # endif #endif -#if !defined(HAVE_TM_GMTOFF) && defined(HAVE_TZSET) +#if !defined(HAVE_STRUCT_TM_TM_GMTOFF) && defined(HAVE_TZSET) extern int daylight; extern long timezone; extern char *tzname[]; @@ -142,7 +142,7 @@ dlocaltime (time_t *clock) static struct tws tw; struct tm *tm; -#if !defined(HAVE_TM_GMTOFF) && !defined(HAVE_TZSET) +#if !defined(HAVE_STRUCT_TM_TM_GMTOFF) && !defined(HAVE_TZSET) struct timeb tb; #endif