Commit 45284246 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

configure: Improve check for if_nameindex.

parent 32520439
...@@ -16406,6 +16406,9 @@ else ...@@ -16406,6 +16406,9 @@ else
#ifdef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H
# include <net/if.h> # include <net/if.h>
#endif #endif
......
...@@ -2248,6 +2248,9 @@ AC_CACHE_CHECK([for if_nameindex],wine_cv_have_if_nameindex, ...@@ -2248,6 +2248,9 @@ AC_CACHE_CHECK([for if_nameindex],wine_cv_have_if_nameindex,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_SYS_TYPES_H AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H
# include <net/if.h> # include <net/if.h>
#endif]], #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