summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/mutex.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-21 12:39:48 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-21 12:39:48 +0000
commitb0cc86a6fc6fc98d18e3bc232f1d83973d74cb3d (patch)
tree9355b7189815b88f68404a4286cfe8831496aae8 /libpthread/linuxthreads/mutex.c
parente73afd38363aa0bca424e42597b9835cf8a79c06 (diff)
Lose the _GNU_SOURCE and just add __USE_GNU to the one file that needs
it, since we definately do not want silent remapping of functions to their large-file counterparts. -Erik
Diffstat (limited to 'libpthread/linuxthreads/mutex.c')
-rw-r--r--libpthread/linuxthreads/mutex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/mutex.c b/libpthread/linuxthreads/mutex.c
index 2217a504e..4c582ea87 100644
--- a/libpthread/linuxthreads/mutex.c
+++ b/libpthread/linuxthreads/mutex.c
@@ -16,6 +16,8 @@
/* Mutexes */
+#include <features.h>
+#define __USE_GNU
#include <errno.h>
#include <sched.h>
#include <stddef.h>