diff options
Diffstat (limited to 'meta/recipes-support/libdaemon/libdaemon/fix-includes.patch')
-rw-r--r-- | meta/recipes-support/libdaemon/libdaemon/fix-includes.patch | 20 |
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 @@ | |||
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> | ||