diff options
author | Patrick McHardy <kaber@trash.net> | 2013-04-01 12:13:36 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2013-04-01 12:13:36 +0200 |
commit | 660297a3dc59a3c9385de05af46d46a909ab3a39 (patch) | |
tree | e87b53e45c50b52afa0858b72732148f9f8b4efc | |
parent | cf705660fea7612a5f1f40f98d5dab9975dfa5eb (diff) |
This patch converts libdect to build with libnl3. Older libnl versions will
not work anymore, to fix this the build system will be converted to automake
and pkgconfig soon.
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/netlink.c | 12 |
2 files changed, 8 insertions, 8 deletions
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 <errno.h> #include <linux/dect_netlink.h> -#include <netlink/netlink.h> -#include <netlink/object.h> -#include <netlink/msg.h> -#include <netlink/dect/cluster.h> -#include <netlink/dect/llme.h> -#include <netlink/dect/ari.h> +#include <libnl3/netlink/netlink.h> +#include <libnl3/netlink/object.h> +#include <libnl3/netlink/msg.h> +#include <libnl3/netlink/dect/cluster.h> +#include <libnl3/netlink/dect/llme.h> +#include <libnl3/netlink/dect/ari.h> #include <libdect.h> #include <netlink.h> |