mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
connman: add header to define in6_addr
Needed because the 3.8 if_bridge.h uses in6_addr before it's defined (From OE-Core rev: 5c4979b93855a57334fac61455b7563e4a43f8ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
22a5264311
commit
dce1da3cf7
@@ -0,0 +1,20 @@
|
||||
|
||||
The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct
|
||||
which is defined by netinet/in.h which is not included prior.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||
|
||||
Index: git/src/tethering.c
|
||||
===================================================================
|
||||
--- git.orig/src/tethering.c
|
||||
+++ git/src/tethering.c
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/if_tun.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <linux/if_bridge.h>
|
||||
|
||||
#include "connman.h"
|
||||
@@ -7,7 +7,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \
|
||||
file://add_xuser_dbus_permission.patch \
|
||||
file://connman \
|
||||
file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \
|
||||
file://inet-fix-ip-cleanup-functions.patch"
|
||||
file://inet-fix-ip-cleanup-functions.patch \
|
||||
file://add-in.h-for-ipv6.patch"
|
||||
S = "${WORKDIR}/git"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user