From 7aa278e4c474adfac06ddb35584b31534366628f Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 14 Sep 2017 19:48:03 +0200 Subject: Fix the include guards on the include/libipset/linux_ip_set*.h The include guards did not prevent including the "same" userspace and kernel header files. Fixes bugzilla id #1139, reported and solution suggested by Quentin Armitage. --- include/libipset/linux_ip_set_hash.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/libipset/linux_ip_set_hash.h') diff --git a/include/libipset/linux_ip_set_hash.h b/include/libipset/linux_ip_set_hash.h index 352eecc..73d40d7 100644 --- a/include/libipset/linux_ip_set_hash.h +++ b/include/libipset/linux_ip_set_hash.h @@ -1,5 +1,7 @@ -#ifndef _UAPI__IP_SET_HASH_H -#define _UAPI__IP_SET_HASH_H +#ifndef __IP_SET_HASH_H +#define __IP_SET_HASH_H + + /* Hash type specific error codes */ enum { @@ -18,4 +20,4 @@ enum { }; -#endif /* _UAPI__IP_SET_HASH_H */ +#endif /* __IP_SET_HASH_H */ -- cgit v1.2.3