diff options
author | David Ahern <dsahern@kernel.org> | 2022-08-14 11:31:10 -0600 |
---|---|---|
committer | David Ahern <dsahern@kernel.org> | 2022-08-14 11:31:10 -0600 |
commit | d9305ec5a81ebc0b092d6d985b3869a443a0d03d (patch) | |
tree | c65ed436396d2c7a10d8a720686a5376fd541dd4 | |
parent | d937cb2b0c3ab863c991bf831821b15d12764675 (diff) | |
parent | d5fe96ab70928508f072a47449e9b641e46de323 (diff) | |
download | iproute2-d9305ec5a81ebc0b092d6d985b3869a443a0d03d.tar.gz |
Merge branch 'main' into next
Signed-off-by: David Ahern <dsahern@kernel.org>
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | ip/ipstats.c | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -191,6 +191,7 @@ check_ipt_lib_dir() check_setns() { cat >$TMPDIR/setnstest.c <<EOF +#define _GNU_SOURCE #include <sched.h> int main(int argc, char **argv) { diff --git a/ip/ipstats.c b/ip/ipstats.c index 5cdd15ae0..dadded14c 100644 --- a/ip/ipstats.c +++ b/ip/ipstats.c @@ -1,6 +1,11 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <alloca.h> #include <assert.h> #include <errno.h> +#include <stdio.h> +#include <string.h> +#include <sys/param.h> +#include <sys/socket.h> #include "list.h" #include "utils.h" |