Explorar el Código

fix compile failure: legacy cuserid needs to define feature test

Rich Felker hace 14 años
padre
commit
bad481266e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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>