kumquat-buildroot/package/iproute2/0002-ipstats-add-missing-headers.patch
Petr Vorel f640de44fa package/iproute2: bump version to 5.19.0
Adjust CFLAGS to be able to compile on uclibc-ng < 1.0.42.

Remove patch from this release, backport 3 patches fixing build from
upstream.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-09-17 18:11:20 +02:00

34 lines
831 B
Diff

From 28c740473510cd911b97cc5d7d23bd809a0f200b Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 9 Aug 2022 13:27:33 -0700
Subject: [PATCH] ipstats: add missing headers
IWYU reports several headers are not explicitly
included by ipstats.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
[ upstream status: 28c740473510cd911b97cc5d7d23bd809a0f200b]
---
ip/ipstats.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ip/ipstats.c b/ip/ipstats.c
index 1ac275bd..dadded14 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"
--
2.37.2