From bd3f7905efeb846a476f58e1434b66797549d5da Mon Sep 17 00:00:00 2001 From: jobo <38849089+jobo-zt@users.noreply.github.com> Date: Fri, 5 Jul 2024 14:03:24 +0800 Subject: [PATCH] multicast: fix compile failed on windows --- modules/multicast/multicast.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/multicast/multicast.c b/modules/multicast/multicast.c index 8c348cd..548d54d 100644 --- a/modules/multicast/multicast.c +++ b/modules/multicast/multicast.c @@ -6,7 +6,9 @@ * Copyright (C) 2021 Commend.com - c.huber@commend.com */ +#ifdef HAVE_GETIFADDRS #include +#endif #undef LIST_INIT #undef LIST_FOREACH