include: add stdint.h to common.h
PATCH 1/1 include: add stdint.h to common.h
Avoid:
/usr/local/include/libnftnl/common.h:25:49: error: unknown type name ‘uint16_t’ /usr/local/include/libnftnl/common.h:25:63: error: unknown type name ‘uint16_t’ /usr/local/include/libnftnl/common.h:26:10: error: unknown type name ‘uint16_t’ /usr/local/include/libnftnl/common.h:26:25: error: unknown type name ‘uint32_t’
--- include/libnftnl/common.h | 2 ++ 1 file changed, 2 insertions(+)
include/libnftnl/common.h +2 -0
@@ -1,6 +1,8 @@#ifndef _LIBNFTNL_COMMON_H_#define _LIBNFTNL_COMMON_H_ +#include <stdint.h> +enum {NFT_PARSE_EBADINPUT =0 , NFT_PARSE_EMISSINGNODE,
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Pablo Neira Ayuso
maintainerQuoted 6 lines · Arturo Borrero Gonzalez
Avoid:
/usr/local/include/libnftnl/common.h:25:49: error: unknown type name ‘uint16_t’/usr/local/include/libnftnl/common.h:25:63: error: unknown type name ‘uint16_t’/usr/local/include/libnftnl/common.h:26:10: error: unknown type name ‘uint16_t’/usr/local/include/libnftnl/common.h:26:25: error: unknown type name ‘uint32_t'
Applied, thanks Arturo.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html