diff --git a/configure.ac b/configure.ac index a3e71d0..08d216f 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,8 @@ AC_ARG_ENABLE([doc], AC_CHECK_LIB([nl], [nl_socket_alloc], , [AC_MSG_ERROR([No suitable version of libnl found])]) -AC_CHECK_LIB([nl-dect], [nl_dect_cluster_alloc], , - [AC_MSG_ERROR([No suitable version of libnl-dect found])]) +AC_CHECK_LIB([nl-dect-3], [nl_dect_cluster_alloc], , + [AC_MSG_ERROR([No suitable version of libnl-dect-3 found])]) AC_CHECK_LIB([ev], [event_init], [EVENTLIB="-lev"], diff --git a/src/netlink.c b/src/netlink.c index d461d05..918473d 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -19,12 +19,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include