Browse Source

fix compile failure: legacy cuserid needs to define feature test

Rich Felker 14 years ago
parent
commit
bad481266e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/misc/cuserid.c

+ 1 - 0
src/misc/cuserid.c

@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <pwd.h>
 #include <stdio.h>
 #include <unistd.h>