]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ipstats: add missing headers
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 9 Aug 2022 20:27:33 +0000 (13:27 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 9 Aug 2022 20:27:33 +0000 (13:27 -0700)
IWYU reports several headers are not explicitly
included by ipstats.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipstats.c

index 1ac275bd2e1080708c8869ec2446bdc18e4020c0..dadded14cd654149b2152bae5e540d2e0d75c67f 100644 (file)
@@ -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"