projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571312d
)
fix compile failure: legacy cuserid needs to define feature test
author
Rich Felker
<dalias@aerifal.cx>
Wed, 16 Feb 2011 14:30:56 +0000
(09:30 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 16 Feb 2011 14:30:56 +0000
(09:30 -0500)
src/misc/cuserid.c
patch
|
blob
|
history
diff --git
a/src/misc/cuserid.c
b/src/misc/cuserid.c
index 8ad0b9f3b90377080ef92cf872827723abd3c2eb..4e78798ded26b09992bb69c4383447a805ae2ab9 100644
(file)
--- 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>