diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-01-04 10:09:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-10 23:43:15 +0000 |
commit | a09fbc8d14ed1a68ab922e1b1803c30c51ead3b7 (patch) | |
tree | b003ced69ce677dbbec2d62b5b19b705788eaea3 /meta/recipes-connectivity/ofono/ofono | |
parent | abc9273fd52bec9414b20add26b3bb23e1f48b37 (diff) | |
download | poky-a09fbc8d14ed1a68ab922e1b1803c30c51ead3b7.tar.gz |
ofono: Fix build with eglibc 2.17
include unistd.h explicitly to get ssize_t defined
(From OE-Core rev: 6d722967e2b6905f2bc0b32fc30228ec889529ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ofono/ofono')
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch b/meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch new file mode 100644 index 0000000000..71903c47da --- /dev/null +++ b/meta/recipes-connectivity/ofono/ofono/missing-ssize_t.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | include unistd.h for getting ssize_t definitions | ||
2 | Fixes errors like | ||
3 | |||
4 | | In file included from src/sms.c:38:0: | ||
5 | | src/storage.h:32:1: error: unknown type name 'ssize_t' | ||
6 | | src/storage.h:36:1: error: unknown type name 'ssize_t' | ||
7 | |||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | |||
12 | Index: ofono-1.12/src/storage.h | ||
13 | =================================================================== | ||
14 | --- ofono-1.12.org/src/storage.h 2013-01-04 10:01:24.137804178 -0800 | ||
15 | +++ ofono-1.12/src/storage.h 2013-01-04 10:02:09.325806426 -0800 | ||
16 | @@ -26,6 +26,7 @@ | ||
17 | #endif | ||
18 | |||
19 | #include <fcntl.h> | ||
20 | +#include <unistd.h> | ||
21 | |||
22 | int create_dirs(const char *filename, const mode_t mode); | ||
23 | |||