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