...so we need to include that header explicitly. For some reason, it works without it when building against glibc. Reported-by: omni <omni+alpine(a)hack.org> Fixes: 3d484aa37090 ("tcp: Update TCP checksum using an iovec array") Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com> --- tcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tcp.c b/tcp.c index 4e0a17e..429634a 100644 --- a/tcp.c +++ b/tcp.c @@ -287,6 +287,8 @@ #include <time.h> #include <arpa/inet.h> +#include <linux/types.h> /* For __sum16 */ + #include "checksum.h" #include "util.h" #include "iov.h" -- 2.43.0