dhcp.c: add _GNU_SOURCE define to fix build error with musl