diff options
author | rofl0r <retnyg@gmx.net> | 2013-04-02 02:48:39 +0200 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2013-04-02 04:43:53 +0200 |
commit | da144eec54b4618d80eeadb80272b6da9c60650b (patch) | |
tree | 4f514799e39a30a6a767b6a4bf8c4b0aee680375 /include | |
parent | a6752eb940b154c9884c7522ef67ffc1a76770b5 (diff) | |
download | musl-da144eec54b4618d80eeadb80272b6da9c60650b.tar.gz musl-da144eec54b4618d80eeadb80272b6da9c60650b.tar.xz musl-da144eec54b4618d80eeadb80272b6da9c60650b.zip |
make tm_zone etc visible under _GNU_SOURCE
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |