diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-16 09:30:56 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-16 09:30:56 -0500 |
commit | bad481266e8744f8c4241e577f06e8cabf6f7f89 (patch) | |
tree | 941c0da54be9c57c8038cd5f864c45db4e7350ee /src/misc/cuserid.c | |
parent | 571312de5fe09764b2d469642636934f6d8cf608 (diff) | |
download | musl-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/cuserid.c')
-rw-r--r-- | src/misc/cuserid.c | 1 |
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> |