From: Delio Brignoli Date: Mon, 1 Oct 2012 16:05:23 +0000 (+0200) Subject: mrpd: define _GNU_SOURCE on compiler invocation. Required to enable strnlen() declara... X-Git-Tag: submit/tizen/20130820.101009~36^2^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d086bf8793d0b6f9a5b4d423f8ac3e690df92da;p=profile%2Fivi%2FOpenAVB.git mrpd: define _GNU_SOURCE on compiler invocation. Required to enable strnlen() declaration in string.h --- 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