Commit 87c369df authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Include sys/types.h before sys/socket.h.

parent 7c099e1f
......@@ -11634,7 +11634,10 @@ else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_SYS_SOCKET_H
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
......
......@@ -974,7 +974,10 @@ AC_HEADER_STAT()
dnl *** Check for net/if.h
AC_CHECK_HEADERS(net/if.h,,,
[#if HAVE_SYS_SOCKET_H
[#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment