summary refs log tree commit diff
path: root/src/nm-netlink-compat.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-02-03 14:49:22 +0100
committerMichael Biebl <biebl@debian.org>2013-02-03 14:49:22 +0100
commit9c202e3e860b3be9e1f8882630b69affbb130102 (patch)
tree8202bf39f2129486971fa7d5ae0dee61a561aa53 /src/nm-netlink-compat.c
parent36cb2f364a821e1be50b23e03a18891ec55adb06 (diff)
Imported Upstream version 0.9.7.995 upstream/0.9.7.995
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 e30ec37a..68ee1215 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)
 {