Added tests for socklen_t
diff --git a/configure.in b/configure.in
index 2c07842..ff43618 100644
--- a/configure.in
+++ b/configure.in
@@ -380,6 +380,7 @@
 AC_TYPE_SIGNAL
 AC_TYPE_SIZE_T
 AC_TYPE_UID_T
+AC_CHECK_TYPE(socklen_t, int)
 
 # Sizes of various common basic types
 AC_CHECK_SIZEOF(int)