[PATCH libnftnl v2] obj: ct_timeout: fix error in building tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
Changes in v2:
 - Add compilation error in log message

 include/obj.h | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.14.1




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux