fix compile failure: legacy cuserid needs to define feature test
authorRich Felker <dalias@aerifal.cx>
Wed, 16 Feb 2011 14:30:56 +0000 (09:30 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 16 Feb 2011 14:30:56 +0000 (09:30 -0500)
src/misc/cuserid.c

index 8ad0b9f3b90377080ef92cf872827723abd3c2eb..4e78798ded26b09992bb69c4383447a805ae2ab9 100644 (file)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <pwd.h>
 #include <stdio.h>
 #include <unistd.h>