Message ID | 20180919051039.9311-1-harshasharmaiitr@gmail.com |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [libnftnl,v2] obj: ct_timeout: fix error in building tests | expand |
On Wed, Sep 19, 2018 at 10:40:39AM +0530, Harsha Sharma wrote: > 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); Applied, thanks Harsha.
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;
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> --- Changes in v2: - Add compilation error in log message include/obj.h | 1 + 1 file changed, 1 insertion(+)