On Sat, 2008-02-02 at 14:18 +0100, Marcel Holtmann wrote: > Hi Bastien, > > > > 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). > > I hate when glibc changes its behavior. This code hasn't been touched > for over 3 years ;) > > Anyway. Patch has been applied. Thanks. I have no idea why they changed that. Same problem with a few defines in bluez-utils (missing UCHAR_MAX, USHRT_MAX and UINT_MAX). Patch attached