summaryrefslogtreecommitdiff
path: root/libc/misc/pthread/weaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/pthread/weaks.c')
-rw-r--r--libc/misc/pthread/weaks.c1
1 files changed, 1 insertions, 0 deletions
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>