connman: fix musl build
This commit is contained in:
parent
898dbd62ab
commit
2bda7a29b4
1 changed files with 14 additions and 0 deletions
|
@ -164,3 +164,17 @@ index c34e10a..eae66fc 100644
|
|||
struct in6_pktinfo {
|
||||
struct in6_addr ipi6_addr; /* src/dst IPv6 address */
|
||||
unsigned int ipi6_ifindex; /* send/recv interface index */
|
||||
--- src/inet.c 2016-04-18 09:04:30.000000000 +0200
|
||||
+++ src/inet.c 2017-07-07 18:14:31.092850333 +0200
|
||||
@@ -25,6 +25,11 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
+#if !defined(__GLIBC__)
|
||||
+/* Prevent inclusion of /usr/include/linux/if_ether.h */
|
||||
+#define _LINUX_IF_ETHER_H
|
||||
+#endif
|
||||
+
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Reference in a new issue