diff options
Diffstat (limited to 'meta-openembedded/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch')
-rw-r--r-- | meta-openembedded/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-openembedded/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch b/meta-openembedded/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch new file mode 100644 index 0000000000..570cb9ef37 --- /dev/null +++ b/meta-openembedded/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch @@ -0,0 +1,40 @@ +From fb5056fea9559b3ec3bb61967a112b6c793b700d Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 8 Jan 2013 21:33:34 -0800 +Subject: [PATCH] include unistd.h to get ssize_t definitions + +Fixes errors like + +| In file included from plugins/mas.c:36:0: +| ./src/obex.h:39:1: error: unknown type name 'ssize_t' +| ./src/obex.h:49:1: error: unknown type name 'ssize_t' +| ./src/obex.h:50:1: error: unknown type name 'ssize_t' +| In file included from plugins/mas.c:38:0: +| ./src/mimetype.h:36:2: error: expected specifier-qualifier-list before 'ssize_t' +| In file included from plugins/mas.c:39:0: +| plugins/filesystem.h:24:1: error: unknown type name 'ssize_t' +| plugins/mas.c:550:1: error: unknown type name 'ssize_t' +| plugins/mas.c:557:1: error: unknown type name 'ssize_t' +| plugins/mas.c: In function 'any_read': +| plugins/mas.c:560:2: error: unknown type name 'ssize_t' + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +--- + plugins/mas.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/plugins/mas.c b/plugins/mas.c +index 1b18059..b519507 100644 +--- a/plugins/mas.c ++++ b/plugins/mas.c +@@ -30,6 +30,7 @@ + #include <glib.h> + #include <fcntl.h> + #include <inttypes.h> ++#include <unistd.h> + + #include <gobex/gobex.h> + #include <gobex/gobex-apparam.h> |