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/ruleset.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/libnftables/ruleset.h') diff --git a/include/libnftables/ruleset.h b/include/libnftables/ruleset.h index 71ef3b1..1ec3059 100644 --- a/include/libnftables/ruleset.h +++ b/include/libnftables/ruleset.h @@ -1,5 +1,5 @@ -#ifndef _RULESET_H_ -#define _RULESET_H_ +#ifndef _LIBNFTABLES_RULESET_H_ +#define _LIBNFTABLES_RULESET_H_ #include @@ -38,4 +38,4 @@ int nft_ruleset_fprintf(FILE *fp, const struct nft_ruleset *rs, uint32_t type, u } /* extern "C" */ #endif -#endif /* _RULESET_H_ */ +#endif /* _LIBNFTABLES_RULESET_H_ */ -- cgit v1.2.3