From fd5bae5a6626956acd11995628fb83e7e8182c1f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 17 Apr 2009 21:35:21 +0200 Subject: [PATCH] freebsd: compatibility fix for looking for CMSG_DATA Patch contributed by Sven Wegener --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cb6e151..9ca380c 100644 --- a/configure.ac +++ b/configure.ac @@ -350,7 +350,7 @@ AC_HEADER_SYS_WAIT # Solaris stuff AC_SEARCH_LIBS([inet_ntop],[nsl]) AC_SEARCH_LIBS([recv],[socket]) - AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__") + AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__", [[#include ]]) # Checks for library functions. AC_FUNC_MEMCMP -- 2.39.5