[libnftables PATCH] include: add stdint.h to common.h

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

 



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’


Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx>
---
 include/libnftnl/common.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/libnftnl/common.h b/include/libnftnl/common.h
index 9d18b2b..f0c20f0 100644
--- a/include/libnftnl/common.h
+++ b/include/libnftnl/common.h
@@ -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 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