diff --git a/hawk/configure b/hawk/configure index 4a8f4e4d..2677b9db 100755 --- a/hawk/configure +++ b/hawk/configure @@ -18929,7 +18929,7 @@ fi done -for ac_header in netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h +for ac_header in netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h net/route.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " diff --git a/hawk/configure.ac b/hawk/configure.ac index ff4a67c0..50df632d 100644 --- a/hawk/configure.ac +++ b/hawk/configure.ac @@ -248,7 +248,7 @@ AC_CHECK_HEADERS([time.h sys/time.h utime.h spawn.h execinfo.h ucontext.h]) AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h sys/sysctl.h]) AC_CHECK_HEADERS([dlfcn.h ltdl.h sys/mman.h]) AC_CHECK_HEADERS([sys/devpoll.h sys/epoll.h poll.h sys/event.h]) -AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h], [], [], [ +AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h net/route.h], [], [], [ #include #include ]) AC_CHECK_HEADERS([sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h]) diff --git a/hawk/lib/hawk-cfg.h.in b/hawk/lib/hawk-cfg.h.in index db1c6bf9..c99d9b6b 100644 --- a/hawk/lib/hawk-cfg.h.in +++ b/hawk/lib/hawk-cfg.h.in @@ -334,6 +334,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_NET_IF_H +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_ROUTE_H + /* Define to 1 if you have the `pipe2' function. */ #undef HAVE_PIPE2