From a6af407dc03cbe912b7c6667747fbfdb12db1975 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 8 Nov 2023 20:10:04 +0100 Subject: [PATCH] [meson] find inet_ntop on Windows --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 98cd436a6..98dc9cf07 100644 --- a/meson.build +++ b/meson.build @@ -767,6 +767,8 @@ endif if compiler.has_function('inet_ntop', prefix : '#include ', dependencies: wattdeps) conf_data.set('HAVE_INET_NTOP', 1) +elif compiler.has_function('inet_ntop', prefix : '#include ') + conf_data.set('HAVE_INET_NTOP', 1) endif if compiler.has_function('fflush', prefix : '#include ')