diff --git a/configure.ac b/configure.ac index 9ab62e88..81ed3247 100644 --- a/configure.ac +++ b/configure.ac @@ -58,7 +58,6 @@ fcntl.h \ getopt.h \ ifaddrs.h \ netdb.h \ -net/if.h \ netinet/in.h \ netinet/tcp.h \ pthread.h \ @@ -74,7 +73,8 @@ unistd.h \ ], [], AC_MSG_ERROR([Required header not found])) # Checks for header files with prerequisites of other headers. -AC_CHECK_HEADERS([net/route.h], [], AC_MSG_ERROR([Required header not found]), [#include ]) +AC_CHECK_HEADERS([net/if.h], [], AC_MSG_ERROR([Required header not found]), [#include ]) +AC_CHECK_HEADERS([net/route.h], [], AC_MSG_ERROR([Required header not found]), [#include ], [#include ]) # Checks for optional header files. AC_CHECK_HEADERS([ \