From 9581a1b022bf94b52a23ecbdc9321716e91523c9 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 22 Dec 2004 21:57:24 +0000
Subject: Make certain that the prototype for fgets_unlocked is defined

---
 libc/unistd/usershell.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'libc/unistd')

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>
-- 
cgit v1.2.3