]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ipstats: Add param.h for musl
authorChanghyeok Bae <changhyeok.bae@gmail.com>
Tue, 9 Aug 2022 04:01:05 +0000 (04:01 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 9 Aug 2022 20:26:35 +0000 (13:26 -0700)
Fix build error for musl
| /usr/src/debug/iproute2/5.19.0-r0/iproute2-5.19.0/ip/ipstats.c:231: undefined reference to `MIN'

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
ip/ipstats.c

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