aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/daq/files/0001-correct-the-location-of-unistd.h.patch
blob: 7587d44336e5df83dd67aee3fd5e53a370ddd685 (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
37
38
39
40
41
42
43
44
45
46
47
48
From b7d54de51553f6d09906c355bd0dd326890c8fe4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 29 Mar 2017 15:59:43 -0700
Subject: [PATCH] correct the location of unistd.h

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 os-daq-modules/daq_ipfw.c | 2 +-
 os-daq-modules/daq_nfq.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/os-daq-modules/daq_ipfw.c b/os-daq-modules/daq_ipfw.c
index 016beb0..c2a4175 100644
--- a/os-daq-modules/daq_ipfw.c
+++ b/os-daq-modules/daq_ipfw.c
@@ -23,10 +23,10 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include <sys/types.h>
 #include <sys/time.h>
-#include <sys/unistd.h>
 
 #include <netinet/in.h>
 #include <sys/socket.h>
diff --git a/os-daq-modules/daq_nfq.c b/os-daq-modules/daq_nfq.c
index 33021c0..4de94b6 100644
--- a/os-daq-modules/daq_nfq.c
+++ b/os-daq-modules/daq_nfq.c
@@ -24,10 +24,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include <sys/types.h>
 #include <sys/time.h>
-#include <sys/unistd.h>
 
 #include <netinet/ip.h>
 
-- 
2.25.1