mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 18:09:40 +01:00
Fixes build errors on musl Change-Id: Ia00bdc9c0578c8d5e1249c9d433079d795e83cb2 (From OE-Core rev: bdd9bd8beaf49133cd62b27255897cdbd2b42b49) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
462 B
Diff
21 lines
462 B
Diff
musl complains
|
|
fatal error: sys/unistd.h: No such file or directory
|
|
and rightly so
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Upstream-Status: Pending
|
|
|
|
--- libdaemon-0.14.orig/examples/testd.c
|
|
+++ libdaemon-0.14/examples/testd.c
|
|
@@ -21,9 +21,9 @@
|
|
#include <signal.h>
|
|
#include <errno.h>
|
|
#include <string.h>
|
|
+#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
-#include <sys/unistd.h>
|
|
#include <sys/select.h>
|
|
|
|
#include <libdaemon/dfork.h>
|