mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
obexd: Include unistd.h to get ssize_t definition
This error is exposed with eglibc 2.17 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
83ee268bcf
commit
642d3ce4e0
|
|
@ -0,0 +1,32 @@
|
|||
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>
|
||||
Index: obexd-0.44/plugins/mas.c
|
||||
===================================================================
|
||||
--- obexd-0.44.orig/plugins/mas.c 2012-01-11 14:53:53.000000000 -0800
|
||||
+++ obexd-0.44/plugins/mas.c 2013-01-08 12:51:12.681882174 -0800
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <glib.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
|
|
@ -4,9 +4,11 @@ DEPENDS = "openobex glib-2.0 dbus bluez4 libical"
|
|||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "files://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/obexd-${PV}.tar.gz"
|
||||
SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/obexd-${PV}.tar.gz \
|
||||
file://ssize_t_definition.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "3fb9cb9d7ab119753253ff784235a364"
|
||||
SRC_URI[sha256sum] = "104fc50eb8bf41d690d31588c3a4829a75dc7738b1c76cf260171d8f525da758"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user