summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-connectivity/linuxptp/linuxptp/0004-Adjust-include-header-sequence-to-avoid-duplicate-de.patch
blob: e699275148aba3d4e6e7cebe513feff14bd7ecf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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

OpenPOWER on IntegriCloud