summaryrefslogtreecommitdiff
path: root/package/daq/0001-Fix-build-against-the-musl-C-library.patch
blob: a37fe9a7ec561a61e5d1a2342a4549b5376f3126 (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
From d3eec1a3b7c67a5e6f524c65608fd2eacac3782b Mon Sep 17 00:00:00 2001
From: Sergio Prado <sergio.prado@e-labworks.com>
Date: Sun, 24 Dec 2017 12:58:49 -0200
Subject: [PATCH] Fix build against the musl C library

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
 os-daq-modules/daq_ipfw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/os-daq-modules/daq_ipfw.c b/os-daq-modules/daq_ipfw.c
index 016beb06ad61..c2a41759bb04 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>
-- 
1.9.1