summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-12-22 21:57:24 +0000
committerEric Andersen <andersen@codepoet.org>2004-12-22 21:57:24 +0000
commit9581a1b022bf94b52a23ecbdc9321716e91523c9 (patch)
treef3a69fd96ac2c6c719bba8fe410dad9cbbe1ea53
parente528b69885f4dca1f7794145b65fdbd36ccc09fd (diff)
Make certain that the prototype for fgets_unlocked is defined
-rw-r--r--libc/unistd/usershell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c
index b1a932918..96ceaca51 100644
--- a/libc/unistd/usershell.c
+++ b/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>