Re: [PATCH 67/98] include/uapi/linux/netfilter/ipset/ip_set_bitmap.h: include linux/netfilter/ipset/ip_set.h

From: Jozsef Kadlecsik
Date: Sun May 31 2015 - 14:16:03 EST


On Sat, 30 May 2015, Mikko Rapeli wrote:

> Fixes userspace compilation error:
>
> error: ?IPSET_ERR_TYPE_SPECIFIC? undeclared here (not in a function)
> IPSET_ERR_BITMAP_RANGE = IPSET_ERR_TYPE_SPECIFIC,

What kind of userspace compilation generates the error message above? How
can one reproduce it?

Best regards,
Jozsef

> Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
> ---
> include/uapi/linux/netfilter/ipset/ip_set_bitmap.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h b/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h
> index 6a2c038..fd5024d 100644
> --- a/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h
> +++ b/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h
> @@ -1,6 +1,8 @@
> #ifndef _UAPI__IP_SET_BITMAP_H
> #define _UAPI__IP_SET_BITMAP_H
>
> +#include <linux/netfilter/ipset/ip_set.h>
> +
> /* Bitmap type specific error codes */
> enum {
> /* The element is out of the range of the set */
> --
> 2.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

-
E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/