configure: Cope with sys/un.h requiring sys/socket.h.
This commit is contained in:
parent
c40a72223c
commit
a58ae36aed
|
@ -5935,7 +5935,6 @@ for ac_header in \
|
|||
sys/timeout.h \
|
||||
sys/times.h \
|
||||
sys/uio.h \
|
||||
sys/un.h \
|
||||
sys/utsname.h \
|
||||
sys/vm86.h \
|
||||
sys/wait.h \
|
||||
|
@ -6036,6 +6035,7 @@ for ac_header in \
|
|||
netinet/ip_var.h \
|
||||
netinet/udp.h \
|
||||
netipx/ipx.h \
|
||||
sys/un.h \
|
||||
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
|
|
|
@ -522,7 +522,6 @@ AC_CHECK_HEADERS(\
|
|||
sys/timeout.h \
|
||||
sys/times.h \
|
||||
sys/uio.h \
|
||||
sys/un.h \
|
||||
sys/utsname.h \
|
||||
sys/vm86.h \
|
||||
sys/wait.h \
|
||||
|
@ -559,6 +558,7 @@ AC_CHECK_HEADERS(\
|
|||
netinet/ip_var.h \
|
||||
netinet/udp.h \
|
||||
netipx/ipx.h \
|
||||
sys/un.h \
|
||||
,,,[#include <sys/types.h>
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
# include <sys/socket.h>
|
||||
|
|
Loading…
Reference in New Issue