summaryrefslogtreecommitdiff
path: root/libc/misc/pthread
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-15 23:38:09 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-15 23:38:09 +0000
commit3e73f8b9075088212cf2220abfc644528cb2bf89 (patch)
treecc0c9e0a152bd799ef046d5aa220488a111132cb /libc/misc/pthread
parent056a92f7e3662e5fba4abbf9a5a6e6a96bfd6c11 (diff)
this is GNU source
Diffstat (limited to 'libc/misc/pthread')
-rw-r--r--libc/misc/pthread/no-tsd.c1
-rw-r--r--libc/misc/pthread/weaks.c1
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>