diff options
Diffstat (limited to 'lib/xfrm/template.c')
-rw-r--r-- | lib/xfrm/template.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xfrm/template.c b/lib/xfrm/template.c index 21cfb2de..b0c31de8 100644 --- a/lib/xfrm/template.c +++ b/lib/xfrm/template.c @@ -46,6 +46,7 @@ * ~~~~ */ +#include <netlink/xfrm/template.h> #include <netlink-private/netlink.h> void xfrmnl_user_tmpl_free(struct xfrmnl_user_tmpl* utmpl) @@ -229,7 +230,7 @@ int xfrmnl_user_tmpl_get_family(struct xfrmnl_user_tmpl *utmpl) return utmpl->family; } -int xfrmnl_user_tmpl_set_family(struct xfrmnl_user_tmpl *utmpl, int family) +int xfrmnl_user_tmpl_set_family(struct xfrmnl_user_tmpl *utmpl, unsigned int family) { utmpl->family = family; |