From eebe18b802db9229c98130d9116474dee321fbd5 Mon Sep 17 00:00:00 2001 From: daichuan Date: Tue, 3 Sep 2024 10:10:22 +0800 Subject: [PATCH] fix compile warning with ipt_sockopt.c and ip6t_sockopt.c: implicit declaration of function 'popcount' Signed-off-by: daichuan --- net/netfilter/ip6t_sockopt.c | 1 + net/netfilter/ipt_sockopt.c | 1 + 2 files changed, 2 insertions(+) diff --git a/net/netfilter/ip6t_sockopt.c b/net/netfilter/ip6t_sockopt.c index c322f3e907..59ecccd8dd 100644 --- a/net/netfilter/ip6t_sockopt.c +++ b/net/netfilter/ip6t_sockopt.c @@ -28,6 +28,7 @@ #include #include #include +#include #include diff --git a/net/netfilter/ipt_sockopt.c b/net/netfilter/ipt_sockopt.c index 0672dbdb29..d02e5dfbb3 100644 --- a/net/netfilter/ipt_sockopt.c +++ b/net/netfilter/ipt_sockopt.c @@ -28,6 +28,7 @@ #include #include #include +#include #include