Add missing include to fix build with glibc 2.17
authorAnas Nashif <anas.nashif@intel.com>
Tue, 15 Jan 2013 04:24:21 +0000 (20:24 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Tue, 15 Jan 2013 04:24:21 +0000 (20:24 -0800)
packaging/obexd.spec
plugins/mas.c

index faf3381..89b097f 100644 (file)
@@ -4,13 +4,12 @@ Name:           obexd
 Summary:        D-Bus service for Obex Client access
 License:        GPL-2.0+
 Group:          System/Daemons
-Version:        0.47
+Version:        0.48
 Release:        0
 Url:            http://www.bluez.org/
 Source0:        obexd-%{version}.tar.xz
 Source1:        obexd-server.desktop
 Source2:        obexd-setup.sh
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  libtool
 BuildRequires:  update-desktop-files
@@ -70,7 +69,7 @@ install -m 0755 %{SOURCE2} %{buildroot}/%{_libdir}/obex/obexd-setup.sh
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING 
+%license COPYING 
 
 %files client
 %defattr(-,root,root,-)
index 1b18059..cfc28e3 100644 (file)
@@ -30,6 +30,7 @@
 #include <glib.h>
 #include <fcntl.h>
 #include <inttypes.h>
+#include <sys/types.h>
 
 #include <gobex/gobex.h>
 #include <gobex/gobex-apparam.h>