aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2022-08-09 13:27:33 -0700
committerStephen Hemminger <stephen@networkplumber.org>2022-08-09 13:27:33 -0700
commit28c740473510cd911b97cc5d7d23bd809a0f200b (patch)
tree3aaa0bc0ff609f60000e06082ac2072c6f0a03e4
parentcf6b60c504d4be5e1df2b2745e55d677967831d0 (diff)
downloadiproute2-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.c4
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"