]> git.ipfire.org Git - thirdparty/libnftnl.git/commitdiff
obj: ct_timeout: fix error in building tests
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Wed, 19 Sep 2018 05:10:39 +0000 (10:40 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Sep 2018 16:19:47 +0000 (18:19 +0200)
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>
include/obj.h

index dfdbb73191c6c4866ae3578254b2bf7aab6379a9..26184da9f46f26d804b14f76d8c1b1ae1ba10e27 100644 (file)
@@ -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;