summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-09 15:11:47 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-09 15:11:47 +0000
commit7de08e4c8f457e269de1f0f878b712e0db02a3cf (patch)
treec90a92d0e890850fc4afadc11a114a5110c364f7 /configure.in
parent3a1892d8cea0df1835f497674c42625009e1f5e5 (diff)
downloadirssi-7de08e4c8f457e269de1f0f878b712e0db02a3cf.zip
sys/types.h has to be included with sys/socket.h when checking socklen_t
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@450 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 412d4584..03556fe7 100644
--- a/configure.in
+++ b/configure.in
@@ -150,6 +150,7 @@ dnl * accept header files where to find the typedef..
AC_MSG_CHECKING([for socklen_t])
AC_CACHE_VAL(irssi_cv_type_socklen_t,
[AC_TRY_COMPILE([
+#include <sys/types.h>
#include <sys/socket.h>],
[socklen_t t;],
irssi_cv_type_socklen_t=yes,