diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch b/meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch new file mode 100644 index 0000000000..15645dee11 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Dont include sys/sysinfo.h on uclibc it conflicts with linux/sysinfo.h | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Inappropriate [uclibc specific] | ||
5 | |||
6 | Index: systemd-209/src/readahead/readahead-common.c | ||
7 | =================================================================== | ||
8 | --- systemd-209.orig/src/readahead/readahead-common.c 2014-02-12 18:42:33.810685053 -0800 | ||
9 | +++ systemd-209/src/readahead/readahead-common.c 2014-02-19 23:49:31.856661142 -0800 | ||
10 | @@ -22,7 +22,9 @@ | ||
11 | #include <errno.h> | ||
12 | #include <stdlib.h> | ||
13 | #include <string.h> | ||
14 | +#ifndef __UCLIBC__ | ||
15 | #include <sys/sysinfo.h> | ||
16 | +#endif | ||
17 | #include <sys/inotify.h> | ||
18 | #include <fcntl.h> | ||
19 | #include <sys/mman.h> | ||