Need to use #if defined HAVE_LIBNL1 instead of #if HAVE_LIBNL1. Signed-off-by: Thomas Graf <[email protected]> --- src/nm-netlink-compat.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/nm-netlink-compat.h b/src/nm-netlink-compat.h index 5038851..404a85f 100644 --- a/src/nm-netlink-compat.h +++ b/src/nm-netlink-compat.h @@ -207,7 +207,7 @@ __nl_cache_include (struct nl_cache *cache, struct nl_object *obj, change_func_t #endif /* HAVE_LIBNL1 */ /* Stuff that only libnl3 has */ -#if HAVE_LIBNL1 || HAVE_LIBNL2 +#if (defined HAVE_LIBNL1 || defined HAVE_LIBNL2) static inline int rtnl_link_bond_add (struct nl_sock *h, const char *name, void *data) -- 1.7.6.4 _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
