From 8d086bf8793d0b6f9a5b4d423f8ac3e690df92da Mon Sep 17 00:00:00 2001 From: Delio Brignoli Date: Mon, 1 Oct 2012 18:05:23 +0200 Subject: [PATCH] mrpd: define _GNU_SOURCE on compiler invocation. Required to enable strnlen() declaration in string.h --- daemons/mrpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/mrpd/Makefile b/daemons/mrpd/Makefile index f2ff7cd..3a6f0ff 100644 --- a/daemons/mrpd/Makefile +++ b/daemons/mrpd/Makefile @@ -1,6 +1,6 @@ OPT=-O2 #CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -ggdb -CFLAGS=$(OPT) -Wall -W -Wno-parentheses -ggdb +CFLAGS=$(OPT) -Wall -W -Wno-parentheses -ggdb -D_GNU_SOURCE CC=gcc #INCFLAGS=-I../lib -- 2.7.4