From 8297c384f1f34f1e77649fabf93be87782fc6063 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Fri, 16 Jun 2017 16:09:01 +0200 Subject: [PATCH] preinit: define _GNU_SOURCE In uClibc getdelim is only defined if _GNU_SOURCE is defined; fix compilation issue by defining _GNU_SOURCE Signed-off-by: Hans Dedecker --- initd/preinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/initd/preinit.c b/initd/preinit.c index 729978e..427fa75 100644 --- a/initd/preinit.c +++ b/initd/preinit.c @@ -11,6 +11,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ +#define _GNU_SOURCE #include #include -- 2.25.1