From fa11a652857087527bc660c8ef6457d03497a62a Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 26 Mar 2009 10:30:37 +0000 Subject: [PATCH] fix build on POSIX strict platforms socklen_t is defined in sys/socket.h, which isn't among autoconf's standard headers. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3721 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/configure.ac b/common/configure.ac index 634c14fa..84d7cc21 100644 --- a/common/configure.ac +++ b/common/configure.ac @@ -77,7 +77,7 @@ AC_CHECK_FUNCS([vsnprintf snprintf strcasecmp strncasecmp]) # IPv6 related functions AC_CHECK_FUNCS([inet_ntop getaddrinfo]) -AC_CHECK_TYPES([socklen_t]) +AC_CHECK_TYPES([socklen_t], [], [], [[#include ]]) AC_CHECK_HEADERS([sys/select.h]) -- 2.39.5