mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue