kumquat-buildroot/package/dhcpdump
Benoît Thébaudeau c2a7f0d605 dhcpdump: Fix strsep() feature test
Use the official _BSD_SOURCE feature test macro instead of the meaningless
HAVE_STRSEP macro in order to detect the availability of strsep().

This allows toolchains supporting strsep() to use it instead of the custom
implementation from dhcpdump, which also avoids the following error with some
toolchains:

	In file included from dhcpdump.c:30:0:
	dhcpdump.c: At top level:
	strsep.c:65:23: error: register name not specified for ‘delim’
	  register const char *delim;
	                       ^

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-07 22:19:21 +02:00
..
Config.in
dhcpdump-0001-use-non-bsd-structures.patch dhcpdump: Fix patch file name 2014-08-07 22:18:58 +02:00
dhcpdump-0002-fix-strsep-feature-test.patch dhcpdump: Fix strsep() feature test 2014-08-07 22:19:21 +02:00
dhcpdump.mk