diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-08-23 21:56:20 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-08-23 21:56:20 +0000 |
commit | 78bd3c3595c9228904423f50c53f038ec516e496 (patch) | |
tree | 655895ee6177d2185c86eb821062380df82ffc23 /configure.in | |
parent | 1a0b6a2a31a7a42c6c8400eb68a4719cde92b221 (diff) | |
download | gnutls-78bd3c3595c9228904423f50c53f038ec516e496.tar.gz |
Define socklen_t to int, not size_t, if it is missing, suggested by
Martin Lambers <marlam@marlam.de>.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 18aedb1d39..236cdc497b 100644 --- a/configure.in +++ b/configure.in @@ -187,8 +187,8 @@ AC_SUBST(DEFINE_SSIZE_T) AC_C_BIGENDIAN -AC_CHECK_TYPE([socklen_t],, [AC_DEFINE([socklen_t], [size_t], - [Define to `size_t' if `socklen_t' is missing.])], [ +AC_CHECK_TYPE([socklen_t],, [AC_DEFINE([socklen_t], [int], + [Define to `int' if `socklen_t' is missing.])], [ #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif |