mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-05 14:30:45 +00:00
Fix build on musl along way Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
37 lines
847 B
Diff
37 lines
847 B
Diff
From 3cd28aa771934d9165ff0d7e19932cde65de3e52 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 15 Jul 2017 11:16:57 -0700
|
|
Subject: [PATCH 4/4] Adjust include header sequence to avoid duplicate
|
|
definitions on musl
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
raw.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/raw.c b/raw.c
|
|
index f51c829..494ea7f 100644
|
|
--- a/raw.c
|
|
+++ b/raw.c
|
|
@@ -18,8 +18,6 @@
|
|
*/
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
-#include <linux/filter.h>
|
|
-#include <linux/if_ether.h>
|
|
#include <net/ethernet.h>
|
|
#include <net/if.h>
|
|
#include <netinet/in.h>
|
|
@@ -32,6 +30,8 @@
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
+#include <linux/filter.h>
|
|
+#include <linux/if_ether.h>
|
|
#include <linux/errqueue.h>
|
|
#include <linux/net_tstamp.h>
|
|
#include <linux/sockios.h>
|
|
--
|
|
2.13.3
|
|
|