mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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:
parent
3a1892d8ce
commit
7de08e4c8f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user