vppinfra: ensure _GNU_SOURCE is present 90/30790/8
authorNathan Moos <nmoos@cisco.com>
Sat, 16 Jan 2021 00:45:14 +0000 (16:45 -0800)
committerDamjan Marion <dmarion@me.com>
Thu, 21 Jan 2021 13:08:57 +0000 (13:08 +0000)
commit323418dd1c7825d38e8b1f83d5a8c23766a26de2
tree8db40b41eccf9e122e3ec25637e4ce94edca6e9d
parent1523c96deb2bc2f03e7823be4545342309da18fc
vppinfra: ensure _GNU_SOURCE is present

Type: fix

When building with musl, _GNU_SOURCE is required to be defined in more
places. This patch defines it in those required places. Additionally,
this patch changes the udphdr field names to the standard names.

Change-Id: I0fec54214ccc8458289176488afb4218761e9d51
Signed-off-by: Nathan Moos <nmoos@cisco.com>
src/vppinfra/socket.c
src/vppinfra/unix-formats.c