Skip to content

Commit

Permalink
lib: fix ax25.h include for musl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
thesamesam authored and shemminger committed Jan 15, 2022
1 parent e27bb8e commit 8bced38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ax25_ntop.c
Expand Up @@ -2,7 +2,7 @@

#include <errno.h>
#include <sys/socket.h>
#include <netax25/ax25.h>
#include <linux/ax25.h>

#include "utils.h"

Expand Down

0 comments on commit 8bced38

Please sign in to comment.