This website works better with JavaScript
Home
Explore
Help
Sign In
hongwenjun
/
musl
mirror of
https://git.musl-libc.org/git/musl
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
fix compile failure: legacy cuserid needs to define feature test
Rich Felker
14 years ago
parent
571312de5f
commit
bad481266e
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
src/misc/cuserid.c
+ 1
- 0
src/misc/cuserid.c
View File
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <pwd.h>
#include <stdio.h>
#include <unistd.h>