diff options
Diffstat (limited to 'meta/recipes-core/fts/fts/fts-header-correctness.patch')
-rw-r--r-- | meta/recipes-core/fts/fts/fts-header-correctness.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-core/fts/fts/fts-header-correctness.patch b/meta/recipes-core/fts/fts/fts-header-correctness.patch new file mode 100644 index 0000000000..c73ddc95d8 --- /dev/null +++ b/meta/recipes-core/fts/fts/fts-header-correctness.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Included needed headers for compiling with musl | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Inappropriate | ||
5 | |||
6 | --- fts.orig/fts.h | ||
7 | +++ fts/fts.h | ||
8 | @@ -38,6 +38,17 @@ | ||
9 | #ifndef _FTS_H_ | ||
10 | #define _FTS_H_ | ||
11 | |||
12 | +#include <sys/types.h> | ||
13 | +#include <sys/param.h> | ||
14 | +#include <sys/stat.h> | ||
15 | + | ||
16 | +#include <dirent.h> | ||
17 | +#include <errno.h> | ||
18 | +#include <fcntl.h> | ||
19 | +#include <stdlib.h> | ||
20 | +#include <string.h> | ||
21 | +#include <unistd.h> | ||
22 | + | ||
23 | typedef struct { | ||
24 | struct _ftsent *fts_cur; /* current node */ | ||
25 | struct _ftsent *fts_child; /* linked list of children */ | ||