From 16f85ed04049501bf5ac932a5ae44627d76ef747 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 24 Nov 2013 20:43:49 +0100 Subject: include: fix possible clash in ifdef namespace Use _LIBNFTABLES_ prefix to avoid possible clash with headers that are defined in other libraries that may be used by third party applications. Signed-off-by: Pablo Neira Ayuso --- include/libnftables/rule.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/libnftables/rule.h') diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index 4957a2a..d1d75e1 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -1,5 +1,5 @@ -#ifndef _RULE_H_ -#define _RULE_H_ +#ifndef _LIBNFTABLES_RULE_H_ +#define _LIBNFTABLES_RULE_H_ #include #include @@ -85,4 +85,4 @@ void nft_rule_list_iter_destroy(struct nft_rule_list_iter *iter); } /* extern "C" */ #endif -#endif /* _RULE_H_ */ +#endif /* _LIBNFTABLES_RULE_H_ */ -- cgit v1.2.3