]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
lib: fix ax25.h include for musl
authorSam James <sam@gentoo.org>
Thu, 13 Jan 2022 08:14:13 +0000 (08:14 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 15 Jan 2022 18:41:13 +0000 (10:41 -0800)
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
Bug: https://bugs.gentoo.org/831102

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/ax25_ntop.c

index cfd0e04b06f9285d2615b5c89680004f6496f7e3..3a72a43e9b77c4a29bf3d2abecfa90a099be96b4 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <errno.h>
 #include <sys/socket.h>
-#include <netax25/ax25.h>
+#include <linux/ax25.h>
 
 #include "utils.h"