mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-19 02:21:40 +00:00
There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
62 lines
1.6 KiB
Diff
62 lines
1.6 KiB
Diff
From 5bba224edea38607e8732081f86679ffd8b218ab Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Thu, 20 Jul 2017 04:29:04 -0700
|
|
Subject: [PATCH 2/2] lib/netdev: Adjust header include sequence
|
|
|
|
Specify libc headers before kernel UAPIs
|
|
this helps compiling with musl where otherwise
|
|
it uses the definition from kernel and complains
|
|
about double definition in libc headers
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
lib/netdev.c | 11 +++++------
|
|
1 file changed, 5 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/lib/netdev.c b/lib/netdev.c
|
|
index 3b6fbc5..c7de25e 100644
|
|
--- a/lib/netdev.c
|
|
+++ b/lib/netdev.c
|
|
@@ -39,7 +39,6 @@
|
|
#include <fcntl.h>
|
|
#include <arpa/inet.h>
|
|
#include <inttypes.h>
|
|
-#include <linux/if_tun.h>
|
|
|
|
/* Fix for some compile issues we were experiencing when setting up openwrt
|
|
* with the 2.4 kernel. linux/ethtool.h seems to use kernel-style inttypes,
|
|
@@ -57,10 +56,6 @@
|
|
#define s64 __s64
|
|
#endif
|
|
|
|
-#include <linux/ethtool.h>
|
|
-#include <linux/rtnetlink.h>
|
|
-#include <linux/sockios.h>
|
|
-#include <linux/version.h>
|
|
#include <sys/types.h>
|
|
#include <sys/ioctl.h>
|
|
#include <sys/socket.h>
|
|
@@ -68,12 +63,16 @@
|
|
#include <net/ethernet.h>
|
|
#include <net/if.h>
|
|
#include <net/if_arp.h>
|
|
-#include <net/if_packet.h>
|
|
#include <net/route.h>
|
|
#include <netinet/in.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
+#include <linux/ethtool.h>
|
|
+#include <linux/rtnetlink.h>
|
|
+#include <linux/sockios.h>
|
|
+#include <linux/version.h>
|
|
+#include <linux/if_tun.h>
|
|
|
|
#include "fatal-signal.h"
|
|
#include "list.h"
|
|
--
|
|
2.13.3
|
|
|