bluez: fix musl
This commit is contained in:
parent
3b22bb336a
commit
52e6e096ce
1 changed files with 24 additions and 0 deletions
24
srcpkgs/bluez/patches/musl.patch
Normal file
24
srcpkgs/bluez/patches/musl.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
Including <linux/if_bridge.h> causes the inclusion of <linux/in6.h>,
|
||||
which defines 'struct in6_addr', already defined in <netinet/in.h>.
|
||||
Remove <linux/if_bridge.h> to fix musl build.
|
||||
|
||||
--- tools/bneptest.c.orig 2015-07-30 21:17:18.000000000 +0200
|
||||
+++ tools/bneptest.c 2017-03-01 19:27:43.579458817 +0100
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <net/if.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <netinet/in.h>
|
||||
-#include <linux/if_bridge.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@@ -50,6 +49,9 @@
|
||||
#include "lib/bnep.h"
|
||||
#include "profiles/network/bnep.h"
|
||||
|
||||
+/* From <linux/if_bridge.h> */
|
||||
+#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8
|
||||
+
|
||||
enum {
|
||||
MODE_LISTEN,
|
||||
MODE_CONNECT,
|
Loading…
Add table
Add a link
Reference in a new issue