From: Hans Dedecker Date: Fri, 16 Jun 2017 14:09:01 +0000 (+0200) Subject: preinit: define _GNU_SOURCE X-Git-Url: http://git.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=e5b963a1f0b40a9b0880785d428d7462532c4611 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 --- 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