Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | From c8a99f1035ec7b158a204f90e9a7ed3c0b1e3d52 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Fri, 5 Aug 2022 11:31:56 +0200 |
| 4 | Subject: [PATCH] ip/ipstats.c: add an include where MIN is defined |
| 5 | |
| 6 | Otherwise, non-glibc systems error out (e.g. on musl). |
| 7 | |
| 8 | Upstream-Status: Submitted [by email to stephen@networkplumber.org,netdev@vger.kernel.org] |
| 9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
| 10 | --- |
| 11 | ip/ipstats.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/ip/ipstats.c b/ip/ipstats.c |
| 15 | index 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" |