diff options
Diffstat (limited to 'libc/misc/pthread')
-rw-r--r-- | libc/misc/pthread/no-tsd.c | 1 | ||||
-rw-r--r-- | libc/misc/pthread/weaks.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/pthread/no-tsd.c b/libc/misc/pthread/no-tsd.c index ef79cb832..1fabaae68 100644 --- a/libc/misc/pthread/no-tsd.c +++ b/libc/misc/pthread/no-tsd.c @@ -17,6 +17,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define _GNU_SOURCE #include <bits/libc-tsd.h> /* This file provides uinitialized (common) definitions for the diff --git a/libc/misc/pthread/weaks.c b/libc/misc/pthread/weaks.c index b17b13143..befa8a5c4 100644 --- a/libc/misc/pthread/weaks.c +++ b/libc/misc/pthread/weaks.c @@ -17,6 +17,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define _GNU_SOURCE #include <errno.h> #include <limits.h> #include <stdlib.h> |