Re: use of bool in exported headers?

From: Jan Engelhardt
Date: Fri Jul 18 2008 - 05:07:44 EST



On Friday 2008-07-18 08:28, Kumar Gala wrote:

> What's the rule with regards to use of 'bool' in a header exposed to user space
> apps?
>
> We are getting the following compile error w/iptables because of bool in
> include/linux/netfilter/xt_sctp.h:
>
> In file included from extensions/libip6t_sctp.c:24:

Use #include <stdbool.h> in userspace.
--
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/