Re: [libnfacct PATCH] Add include needed for integer types definition.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 2012-11-04 10:54, Eric Leblond wrote:

>---
> include/libnetfilter_acct/libnetfilter_acct.h |    1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/include/libnetfilter_acct/libnetfilter_acct.h b/include/libnetfilter_acct/libnetfilter_acct.h
>index a326c3c..48fe8f4 100644
>--- a/include/libnetfilter_acct/libnetfilter_acct.h
>+++ b/include/libnetfilter_acct/libnetfilter_acct.h
>@@ -2,6 +2,7 @@
> #define _LIBNETFILTER_ACCT_H_
> 
> #include <sys/types.h>
>+#include <inttypes.h>
> #include <linux/netfilter/nfnetlink_acct.h>

The intXX_t pieces are standardized in <stdint.h>
(Or, to cater for C++,

#if defined(__cplusplus) && \
    (__cplusplus >= 201100L || defined(__GXX_EXPERIMENTAL_CXX0X__))
#	include <cstdint>
#else
#	include <stdint.h>
#endif

--
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


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux