vlib: fix build with musl 86/30786/7
authorNathan Moos <nmoos@cisco.com>
Fri, 15 Jan 2021 22:32:07 +0000 (14:32 -0800)
committerDamjan Marion <dmarion@me.com>
Wed, 20 Jan 2021 15:19:36 +0000 (15:19 +0000)
commitbfa0398f7a9f58a28d9b3f552b451da267a3c8a5
treed61300ce485da3c9fb208aadaacc9326be2a9aa2
parent2e4813fe8f2456438f7c60b1ba6055a7d62a047f
vlib: fix build with musl

Type: fix

When building with musl, some transitive includes from glibc are not
present. This patch adds direct includes for the necessary types, and it
also defines _GNU_SOURCE to ensure that the socket types are complete.

Change-Id: Ic69c307b9515fec764c32906b5bc7f1fb34f2525
Signed-off-by: Nathan Moos <nmoos@cisco.com>
src/vlib/log.h
src/vlibmemory/socket_client.c