summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libdaemon/libdaemon/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libdaemon/libdaemon/fix-includes.patch')
-rw-r--r--meta/recipes-support/libdaemon/libdaemon/fix-includes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-support/libdaemon/libdaemon/fix-includes.patch b/meta/recipes-support/libdaemon/libdaemon/fix-includes.patch
new file mode 100644
index 0000000000..1027ae8e6c
--- /dev/null
+++ b/meta/recipes-support/libdaemon/libdaemon/fix-includes.patch
@@ -0,0 +1,20 @@
1musl complains
2fatal error: sys/unistd.h: No such file or directory
3and rightly so
4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6Upstream-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>