summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-16 09:30:56 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-16 09:30:56 -0500
commitbad481266e8744f8c4241e577f06e8cabf6f7f89 (patch)
tree941c0da54be9c57c8038cd5f864c45db4e7350ee /src/misc
parent571312de5fe09764b2d469642636934f6d8cf608 (diff)
downloadmusl-bad481266e8744f8c4241e577f06e8cabf6f7f89.tar.gz
musl-bad481266e8744f8c4241e577f06e8cabf6f7f89.tar.bz2
musl-bad481266e8744f8c4241e577f06e8cabf6f7f89.tar.xz
musl-bad481266e8744f8c4241e577f06e8cabf6f7f89.zip
fix compile failure: legacy cuserid needs to define feature test
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/cuserid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc/cuserid.c b/src/misc/cuserid.c
index 8ad0b9f3..4e78798d 100644
--- a/src/misc/cuserid.c
+++ b/src/misc/cuserid.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <pwd.h>
#include <stdio.h>
#include <unistd.h>