blob: edd73818bae736a7f9c0477c2e5960abd2324e57 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From c8a99f1035ec7b158a204f90e9a7ed3c0b1e3d52 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 5 Aug 2022 11:31:56 +0200
4Subject: [PATCH] ip/ipstats.c: add an include where MIN is defined
5
6Otherwise, non-glibc systems error out (e.g. on musl).
7
8Upstream-Status: Submitted [by email to stephen@networkplumber.org,netdev@vger.kernel.org]
9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10---
11 ip/ipstats.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/ip/ipstats.c b/ip/ipstats.c
15index 5cdd15a..1ac275b 100644
16--- a/ip/ipstats.c
17+++ b/ip/ipstats.c
18@@ -1,6 +1,7 @@
19 // SPDX-License-Identifier: GPL-2.0+
20 #include <assert.h>
21 #include <errno.h>
22+#include <sys/param.h>
23
24 #include "list.h"
25 #include "utils.h"