From 184752bbd81989a431a4f8ed927985c051357fda Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 3 Nov 2025 12:07:48 +0100 Subject: [PATCH] Fix tests/pcap_parse build on musl musl only defines the Linux-style struct udphdr member names if _GNU_SOURCE is defined, so do that, like certain other tests already do. --- tests/pcap_parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pcap_parse.c b/tests/pcap_parse.c index 4b5a1fe5..850e1fe0 100644 --- a/tests/pcap_parse.c +++ b/tests/pcap_parse.c @@ -31,7 +31,8 @@ #include "config.h" #endif -#define _DEFAULT_SOURCE +#define _GNU_SOURCE + #include #include