From d17e68c43f2140d3bf8d4cf1fde48f82ac67b362 Mon Sep 17 00:00:00 2001 From: Siva Mahadevan Date: Wed, 11 Mar 2026 14:20:46 -0400 Subject: [PATCH] network-utils: add missing #include As stated in https://pubs.opengroup.org/onlinepubs/9799919799//basedefs/netinet_in.h.html, > The header shall define the sockaddr_in structure [...] This fixes the following build error: In file included from ../src/modules/module-protocol-native.c:44: ../src/modules/network-utils.h:96:35: error: incomplete definition of type 'struct sockaddr_in' 96 | if (inet_ntop(sa->ss_family, &in->sin_addr, ip, len) == NULL) | ~~^ --- src/modules/network-utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/network-utils.h b/src/modules/network-utils.h index 6ff80dd7a..3c93e201e 100644 --- a/src/modules/network-utils.h +++ b/src/modules/network-utils.h @@ -11,6 +11,7 @@ #include #include #include +#include #include