Skip to contentSkip to conversation

ipstats: Add param.h for musl

PATCH Applied Changhyeok Bae 2 participants 2 messages Aug 9, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipstats: Add param.h for musl

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'

---
 ip/ipstats.c | 1 +
 1 file changed, 1 insertion(+)
ip/ipstats.c +1 -0
index 5cdd15ae..1ac275bd 100644
@@ -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"
Signature · 1 line
2.17.1
#1 lore raw
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 7 lines · On Tue, 9 Aug 2022 04:01:05 +0000 you wrote:

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'

---
 ip/ipstats.c | 1 +
 1 file changed, 1 insertion(+)

Here is the summary with links:
- [iproute2] ipstats: Add param.h for musl

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=cf6b60c504d4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html