소스 검색

Make certain that the prototype for fgets_unlocked is defined

Eric Andersen 19 년 전
부모
커밋
9581a1b022
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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>