Explorar o código

Make certain that the prototype for fgets_unlocked is defined

Eric Andersen %!s(int64=21) %!d(string=hai) anos
pai
achega
9581a1b022
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      libc/unistd/usershell.c

+ 1 - 0
libc/unistd/usershell.c

@@ -30,6 +30,7 @@
  * November 2002, Erik Andersen <andersen@codepoet.org> 
  */
 
+#define _GNU_SOURCE
 #include <sys/param.h>
 #include <sys/file.h>
 #include <sys/stat.h>