configure: Cope with sys/un.h requiring sys/socket.h.

This commit is contained in:
Alexandre Julliard 2013-01-08 13:13:34 +01:00
parent c40a72223c
commit a58ae36aed
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

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

View File

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