1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

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
This commit is contained in:
Timo Sirainen 2000-07-09 15:11:47 +00:00 committed by cras
parent 3a1892d8ce
commit 7de08e4c8f

View File

@ -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,