blob: edd73818bae736a7f9c0477c2e5960abd2324e57 [file] [log] [blame]
From c8a99f1035ec7b158a204f90e9a7ed3c0b1e3d52 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 5 Aug 2022 11:31:56 +0200
Subject: [PATCH] ip/ipstats.c: add an include where MIN is defined
Otherwise, non-glibc systems error out (e.g. on musl).
Upstream-Status: Submitted [by email to stephen@networkplumber.org,netdev@vger.kernel.org]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
ip/ipstats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ip/ipstats.c b/ip/ipstats.c
index 5cdd15a..1ac275b 100644
--- a/ip/ipstats.c
+++ b/ip/ipstats.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
#include <assert.h>
#include <errno.h>
+#include <sys/param.h>
#include "list.h"
#include "utils.h"