summaryrefslogtreecommitdiff
path: root/src/nm-netlink-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-netlink-compat.c')
-rw-r--r--src/nm-netlink-compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-netlink-compat.c b/src/nm-netlink-compat.c
index e30ec37a6..68ee12159 100644
--- a/src/nm-netlink-compat.c
+++ b/src/nm-netlink-compat.c
@@ -29,7 +29,7 @@
#include "nm-logging.h"
#include "nm-netlink-compat.h"
-#ifndef HAVE_LIBNL1
+#if HAVE_LIBNL != 1
struct rtnl_nexthop *
nm_netlink_get_nh (struct rtnl_route * route)
{
@@ -93,7 +93,7 @@ rtnl_route_get_dst_len(struct rtnl_route * rtnlroute)
}
#endif
-#ifdef HAVE_LIBNL1
+#if HAVE_LIBNL == 1
int
nl_compat_error (int err)
{