daq: fix build against the musl C library
authorSergio Prado <sergio.prado@e-labworks.com>
Tue, 9 Jan 2018 23:53:37 +0000 (21:53 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 12 Jan 2018 21:17:01 +0000 (22:17 +0100)
commitdbe64f4691e8e67066b4df0c91281674bdefeced
treeea59c3a76c3e1678d2fd6b324749d61eb82ded69
parent6c35c0196bfbbedd1537706e8475ce605e18bf9f
daq: fix build against the musl C library

Musl doesn't have <sys/unistd.h>, so let's change to <unistd.h>.

Fixes:
http://autobuild.buildroot.net/results/054f6581f67338b28af4dc2203b285ae1055581c
http://autobuild.buildroot.net/results/99ec5d70b2ecf3a17fd5b5461d3e6b8ec0d22bfa

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/daq/0001-Fix-build-against-the-musl-C-library.patch