1*4882a593Smuzhiyunexamples/testd.c: As the C POSIX library recommends include the <unistd.h>
2*4882a593Smuzhiyuninstead of <sys/unistd.h>. This removes an error when building libdaemon
3*4882a593Smuzhiyunagainst the musl C library.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunSigned-off-by: Jörg Krause <jkrause@posteo.de>
6*4882a593Smuzhiyun--- libdaemon-0.14.orig/examples/testd.c	2014-08-30 00:27:08.359832977 +0200
7*4882a593Smuzhiyun+++ libdaemon-0.14/examples/testd.c	2014-08-30 00:27:25.439832670 +0200
8*4882a593Smuzhiyun@@ -23,7 +23,7 @@
9*4882a593Smuzhiyun #include <string.h>
10*4882a593Smuzhiyun #include <sys/types.h>
11*4882a593Smuzhiyun #include <sys/time.h>
12*4882a593Smuzhiyun-#include <sys/unistd.h>
13*4882a593Smuzhiyun+#include <unistd.h>
14*4882a593Smuzhiyun #include <sys/select.h>
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun #include <libdaemon/dfork.h>
17