From 810d6d12450213ece5ac84f47054a8e24dabbbc6 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Dec 2014 23:36:50 -0600 Subject: [PATCH] fix for making getline available on old systems --- mfshell/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mfshell/config.c b/mfshell/config.c index 9d89493..031f2de 100644 --- a/mfshell/config.c +++ b/mfshell/config.c @@ -17,6 +17,7 @@ */ #define _POSIX_C_SOURCE 200809L // for getline +#define _GNU_SOURCE // for getline on old systems #include #include