From 77e538040cafd33c994c3c6bbc9b2e37450306ad Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 28 Oct 2013 13:27:18 +0100 Subject: build: resolve build errors in dependent programs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The headers do not compile standalone which may cause compilation problems to third party programs. $ gcc -x c -Wall -c *.h chain.h:62:35: error: unknown type name ‘size_t’ expr.h:40:39: error: unknown type name ‘size_t’ rule.h:60:34: error: unknown type name ‘size_t’ ruleset.h:20:1: error: unknown type name ‘bool’ ruleset.h:20:59: error: unknown type name ‘uint16_t’ ruleset.h:21:52: error: unknown type name ‘uint16_t’ ruleset.h:22:50: error: unknown type name ‘uint16_t’ ruleset.h:23:63: error: unknown type name ‘uint16_t’ ruleset.h:39:37: error: unknown type name ‘size_t’ ruleset.h:39:80: error: unknown type name ‘uint32_t’ ruleset.h:39:95: error: unknown type name ‘uint32_t’ set.h:40:33: error: unknown type name ‘size_t’ set.h:110:38: error: unknown type name ‘size_t’ table.h:50:35: error: unknown type name ‘size_t’ Signed-off-by: Jan Engelhardt Signed-off-by: Pablo Neira Ayuso --- include/libnftables/expr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libnftables/expr.h') diff --git a/include/libnftables/expr.h b/include/libnftables/expr.h index 64c407c..81e224c 100644 --- a/include/libnftables/expr.h +++ b/include/libnftables/expr.h @@ -3,6 +3,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { -- cgit v1.2.3