Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | musl complains |
| 2 | fatal error: sys/unistd.h: No such file or directory |
| 3 | and rightly so |
| 4 | |
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | --- libdaemon-0.14.orig/examples/testd.c |
| 9 | +++ libdaemon-0.14/examples/testd.c |
| 10 | @@ -21,9 +21,9 @@ |
| 11 | #include <signal.h> |
| 12 | #include <errno.h> |
| 13 | #include <string.h> |
| 14 | +#include <unistd.h> |
| 15 | #include <sys/types.h> |
| 16 | #include <sys/time.h> |
| 17 | -#include <sys/unistd.h> |
| 18 | #include <sys/select.h> |
| 19 | |
| 20 | #include <libdaemon/dfork.h> |