Skip to contentSkip to conversation

include: add stdint.h to common.h

PATCH In review Arturo Borrero Gonzalez 2 participants 2 messages Jan 21, 2014 netfilter

lore
Share & tools
lore
#0 lore raw

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
index 9d18b2b..f0c20f0 100644
@@ -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

#1 lore raw
Quoted 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