diff options
author | Harsha Sharma <harshasharmaiitr@gmail.com> | 2018-09-19 10:40:39 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-09-20 18:19:47 +0200 |
commit | 27a2671361d871dd07a399c059bc96dcc2b5c7bb (patch) | |
tree | 6149cc06bbee48c080743a295fc5b6c1cbda0e7e /include/obj.h | |
parent | 7e7103bfe9344d4398c7017313ea86d30cec9d70 (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>
Diffstat (limited to 'include/obj.h')
-rw-r--r-- | include/obj.h | 1 |
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; |