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_bitmap.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/libipset/linux_ip_set_bitmap.h') diff --git a/include/libipset/linux_ip_set_bitmap.h b/include/libipset/linux_ip_set_bitmap.h index 6a2c038..c4b63d6 100644 --- a/include/libipset/linux_ip_set_bitmap.h +++ b/include/libipset/linux_ip_set_bitmap.h @@ -1,5 +1,7 @@ -#ifndef _UAPI__IP_SET_BITMAP_H -#define _UAPI__IP_SET_BITMAP_H +#ifndef __IP_SET_BITMAP_H +#define __IP_SET_BITMAP_H + + /* Bitmap type specific error codes */ enum { @@ -10,4 +12,4 @@ enum { }; -#endif /* _UAPI__IP_SET_BITMAP_H */ +#endif /* __IP_SET_BITMAP_H */ -- cgit v1.2.3