blueman: fix musl (hack)
Fix a kernel-libc-headers-4.9.8 introduced problem with including linux/if_bridge.h trying to redefine musl libc defined structs. The only thing required is the "#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8".
This commit is contained in:
parent
5fe84e4ae4
commit
9e3759b154
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
--- module/libblueman.c.orig 2016-03-27 09:13:07.203123088 +0200
|
||||
+++ module/libblueman.c 2016-03-27 09:13:19.497969382 +0200
|
||||
@@ -28,6 +28,7 @@
|
||||
@@ -28,8 +28,13 @@
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -8,6 +8,12 @@
|
|||
#include <unistd.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <linux/if.h>
|
||||
+#if defined(__GLIBC__)
|
||||
#include <linux/if_bridge.h>
|
||||
+#else
|
||||
+#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8
|
||||
+#endif
|
||||
|
||||
--- module/modem-prober.c.orig 2016-03-27 09:19:20.635454542 +0200
|
||||
+++ module/modem-prober.c 2016-03-27 09:19:28.550355592 +0200
|
||||
@@ -38,6 +38,10 @@
|
||||
|
@ -20,4 +26,3 @@
|
|||
+
|
||||
static gboolean verbose = FALSE;
|
||||
|
||||
void set_probe_debug(gboolean debug) {
|
||||
|
|
Loading…
Reference in a new issue