Skip to contentSkip to conversation

lib: fix ax25.h include for musl

PATCH Applied Sam James 2 participants 2 messages Jan 13, 2022 – Jan 15, 2022

Subsystems (3)
lore
Share & tools
lore

Sam James

author
#0 lore raw

PATCH 1/1 lib: fix ax25.h include for musl

ax25.h isn't guaranteed to be avilable in netax25/*; it's dependent on our choice of libc (it's not available on musl at least) [0].

Let's use the version from linux-headers.

[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers

---
 lib/ax25_ntop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/ax25_ntop.c +1 -1
index cfd0e04b..3a72a43e 100644
@@ -2,7 +2,7 @@
 
 #include <errno.h>
 #include <sys/socket.h>
-#include <netax25/ax25.h>
+#include <linux/ax25.h>
 
 #include "utils.h"
 
Signature · 1 line
2.34.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 10 lines · On Thu, 13 Jan 2022 08:14:13 +0000 you wrote:

ax25.h isn't guaranteed to be avilable in netax25/*; it's dependent on our choice of libc (it's not available on musl at least) [0].

Let's use the version from linux-headers.

[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers

[...]

Here is the summary with links:
- lib: fix ax25.h include for musl

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

You are awesome, thank you!

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