dhcpdump: fix build with musl
authorBaruch Siach <baruch@tkos.co.il>
Tue, 25 Aug 2015 06:32:21 +0000 (09:32 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Aug 2015 09:49:29 +0000 (11:49 +0200)
commit4803fca4d7ae6deb843c5a7dad28620301188b5e
treeeb38e0933b5f0b4fd6098a0257783a6e9bcf21fe
parenta123e7ed8e600c5b002962be6b0549f06ce34f12
dhcpdump: fix build with musl

muls exposes udphdr Linux member names only when _GNU_SOURCE is defined.

Fixes:
http://autobuild.buildroot.net/results/dc2/dc2902b758faa7bcfed44cca5fa73aeffdf284ae/
http://autobuild.buildroot.net/results/432/43214b5f7d9e5881fbeba7203ee7fcfc6386a492/
http://autobuild.buildroot.net/results/291/29100641731904b50d73af7cf2db08847fe1567a/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dhcpdump/dhcpdump.mk