From da144eec54b4618d80eeadb80272b6da9c60650b Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 2 Apr 2013 02:48:39 +0200 Subject: [PATCH] make tm_zone etc visible under _GNU_SOURCE --- include/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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