From 2137f511db6c71319c78d6b980ab2fc0cff6da58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 9 Feb 2022 14:48:43 +0400 Subject: build-sys: check for afunix.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d72d8f7c..0c5cdfea 100644 --- a/configure.ac +++ b/configure.ac @@ -430,6 +430,7 @@ sys/syscall.h sys/syslimits.h sys/time.h unistd.h +winsock2.h ws2tcpip.h ]) @@ -1052,6 +1053,13 @@ if test x$dbus_win = xyes ; then fi fi +AC_CHECK_HEADERS([afunix.h], [], [], + [AC_INCLUDES_DEFAULT[ + #ifdef HAVE_WINSOCK2_H + # include + #endif + ]]) + AC_SUBST([NETWORK_libs]) AC_ARG_WITH([valgrind], -- cgit v1.2.1