From e5b963a1f0b40a9b0880785d428d7462532c4611 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 dda6576..09edb8f 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