summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarsha Sharma <harshasharmaiitr@gmail.com>2018-09-19 10:40:39 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2018-09-20 18:19:47 +0200
commit27a2671361d871dd07a399c059bc96dcc2b5c7bb (patch)
tree6149cc06bbee48c080743a295fc5b6c1cbda0e7e
parent7e7103bfe9344d4398c7017313ea86d30cec9d70 (diff)
obj: ct_timeout: fix error in building tests
Add include header for NFTNL_CTTIMEOUT_ARRAY_MAX. Fixes compilation error "../include/obj.h:43:21: error: ‘NFTNL_CTTIMEOUT_ARRAY_MAX’ undeclared here (not in a function); Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--include/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/obj.h b/include/obj.h
index dfdbb73..26184da 100644
--- a/include/obj.h
+++ b/include/obj.h
@@ -2,6 +2,7 @@
#define _OBJ_OPS_H_
#include <stdint.h>
+#include <libnftnl/object.h> /* For NFTNL_CTTIMEOUT_ARRAY_MAX. */
#include "internal.h"
struct nlattr;