X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftime.h;h=fbc47db90e7cf5f62225f8ecf4d78ad7c46263fa;hp=2f4c74f73ecccc6a1bd2674aff39a3b0b5ef65a1;hb=87781ac64ce5fcd68fb2cf32a3b4305a807e6367;hpb=c1a9658bd19245ff0fb52d3da567815d822fb622 diff --git a/include/time.h b/include/time.h index 2f4c74f7..fbc47db9 100644 --- a/include/time.h +++ b/include/time.h @@ -45,6 +45,10 @@ struct tm long __tm_gmtoff; const char *__tm_zone; }; +#if defined(_BSD_SOURCE) +#define tm_gmtoff __tm_gmtoff +#define tm_zone __tm_zone +#endif clock_t clock (void); time_t time (time_t *);