From 606009afb0e35ac493dba8d79d4218c29c335bc9 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 15 Nov 2022 15:08:09 -0300 Subject: [PATCH] Add missing include linux/if uses struct sockaddr that is defined in sys/socket.h. This breaks building on some systems. It went unnoticed as it was hidden by mongoose.h being included first --- examples/mip-tap/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/mip-tap/main.c b/examples/mip-tap/main.c index db9ca038..200789d7 100644 --- a/examples/mip-tap/main.c +++ b/examples/mip-tap/main.c @@ -3,6 +3,7 @@ // // example using MIP and a TUN/TAP interface +#include #include #include #include