Hi Yang, > I got build failing as below: > cc1: warnings being treated as errors > gdhcp/client.c: In function ‘alloc_dhcp_option’: > gdhcp/client.c:1455: error: implicit declaration of function ‘strnlen’ > > define _GNU_SOURCE fixes this problem. > > Here add -D_GNU_SOURCE in Makefile instead of source code file.
please don't do that. Define it in the files where needed. > Signed-off-by: Yang Ruirui <[email protected]> No Signed-off-by please. Regards Marcel _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
