diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2022-08-09 13:27:33 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2022-08-09 13:27:33 -0700 |
commit | 28c740473510cd911b97cc5d7d23bd809a0f200b (patch) | |
tree | 3aaa0bc0ff609f60000e06082ac2072c6f0a03e4 | |
parent | cf6b60c504d4be5e1df2b2745e55d677967831d0 (diff) | |
download | iproute2-28c740473510cd911b97cc5d7d23bd809a0f200b.tar.gz |
ipstats: add missing headers
IWYU reports several headers are not explicitly
included by ipstats.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r-- | ip/ipstats.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ip/ipstats.c b/ip/ipstats.c index 1ac275bd2..dadded14c 100644 --- a/ip/ipstats.c +++ b/ip/ipstats.c @@ -1,7 +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" |