]> source.dussan.org Git - tigervnc.git/commitdiff
fix build on POSIX strict platforms
authorPierre Ossman <ossman@cendio.se>
Thu, 26 Mar 2009 10:30:37 +0000 (10:30 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 26 Mar 2009 10:30:37 +0000 (10:30 +0000)
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

index 634c14faa53a32bb6c9b362356667a10ad6ff704..84d7cc2179dba44f5a5d59e4f071a0c97d75e363 100644 (file)
@@ -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 <sys/socket.h>]])
 
 AC_CHECK_HEADERS([sys/select.h])