Re: [BlueZ-Announce] Release of bluez-libs-3.25 and bluez-utils-3.25
Bastien Nocera <[email protected]>
| Newsgroups | gmane.linux.bluez.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2008-02-02 at 05:25 +0100, Marcel Holtmann wrote: > Hi Folks, > > this is an update release of the new stable versions of the Bluetooth > library and the utilities. This release updates the audio service with > experimental MPEG12/MP3 support. It also updates the GStreamer plugins > to make use of it. I got a build problem with the 3.25 release of bluez-libs: sdp.c: In function 'sdp_data_alloc_with_length': sdp.c:450: error: 'USHRT_MAX' undeclared (first use in this function) sdp.c:450: error: (Each undeclared identifier is reported only once sdp.c:450: error: for each function it appears in.) sdp.c: In function 'sdp_append_to_buf': sdp.c:2393: error: 'UCHAR_MAX' undeclared (first use in this function) make[2]: *** [sdp.lo] Error 1 The attached patch fixes it for me, although I don't see the problem on my older system (Fedora 8 vs. Rawhide). ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
bluez-missing-limits-include.patch
(text/x-patch, 432 B)
Index: sdp.c =================================================================== RCS file: /cvsroot/bluez/libs/src/sdp.c,v retrieving revision 1.79 diff -u -p -r1.79 src/sdp.c --- src/sdp.c 2 Feb 2008 03:11:11 -0000 1.79 +++ src/sdp.c 2 Feb 2008 12:02:02 -0000 @@ -35,6 +35,7 @@ #include <stdlib.h> #include <malloc.h> #include <syslog.h> +#include <limits.h> #include <sys/un.h> #include <sys/socket.h> #include <sys/time.h>