All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2] ipstats: Add param.h for musl
@ 2022-08-09  4:01 Changhyeok Bae
  2022-08-09 20:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Changhyeok Bae @ 2022-08-09  4:01 UTC (permalink / raw)
  To: netdev; +Cc: stephen, kuznet, Changhyeok Bae

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ip/ipstats.c b/ip/ipstats.c
index 5cdd15ae..1ac275bd 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"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2] ipstats: Add param.h for musl
  2022-08-09  4:01 [PATCH iproute2] ipstats: Add param.h for musl Changhyeok Bae
@ 2022-08-09 20:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-08-09 20:30 UTC (permalink / raw)
  To: Changhyeok Bae; +Cc: netdev, stephen, kuznet

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

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'
> 
> Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
> ---
>  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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-09 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09  4:01 [PATCH iproute2] ipstats: Add param.h for musl Changhyeok Bae
2022-08-09 20:30 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.