From f4d7123ad69cd48db7411272c2444fc30a494039 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Sun, 14 Jul 2013 00:14:24 +0000 Subject: [PATCH] Add configure check for socklen_t. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@270 13b04d17-f746-0410-82c6-800466cd88b0 --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index d90f254..a1d7e91 100644 --- a/configure.in +++ b/configure.in @@ -105,6 +105,12 @@ AC_TYPE_SIZE_T AC_TYPE_SIGNAL AC_HEADER_TIME +AC_CHECK_TYPES([socklen_t], [], [], [ +AC_INCLUDES_DEFAULT +#ifdef HAVE_SYS_SOCKET_H +#include +#endif]) + AC_CHECK_SIZEOF(unsigned int, 4) if test x"$ac_cv_sizeof_unsigned_int" = x"4"; then AC_DEFINE(UNSIGNED_INT32, 1, Define this if an unsigned long is 32 bits.)