Autoconf: Use a standard test for socklen_t
[openafs.git] / src / config / stds.h
index a9d22f5..d7358c5 100644 (file)
@@ -59,6 +59,10 @@ typedef int ssize_t;
 typedef int sig_atomic_t;
 #endif
 
+#ifndef HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
 typedef short afs_int16;
 typedef unsigned short afs_uint16;
 #ifdef  AFS_64BIT_ENV