summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/getline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/getline.c b/libc/stdio/getline.c
index ecc48ffac..41f3a442c 100644
--- a/libc/stdio/getline.c
+++ b/libc/stdio/getline.c
@@ -22,6 +22,7 @@
*/
#include <stddef.h>
+#define __USE_GNU
#include <stdio.h>
/* Basically getdelim() with the delimiter hard wired to '\n' */