diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-core/systemd/systemd/uclibc-sysinfo_h.patch | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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> | ||