X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftime.h;h=aa4efff495cb193b2c6780a110f54c5327cda31e;hp=4a681b4a01b6d0a81d643a8f7d354f80a066ba03;hb=da144eec54b4618d80eeadb80272b6da9c60650b;hpb=a6752eb940b154c9884c7522ef67ffc1a76770b5 diff --git a/include/time.h b/include/time.h index 4a681b4a..aa4efff4 100644 --- a/include/time.h +++ b/include/time.h @@ -39,7 +39,7 @@ struct tm long __tm_gmtoff; const char *__tm_zone; }; -#if defined(_BSD_SOURCE) +#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define tm_gmtoff __tm_gmtoff #define tm_zone __tm_zone #endif