Skip to contentSkip to conversation

missing <linux/limits.h> include in storage.c and hcitool.c

Bluez-users Marco Trudel 2 participants 4 messages Apr 22, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello Marcel

The include <linux/limits.h> in storage.c and hcitool.c are missing. My crosscompiler needs it.

regards
Marco

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Marco,

Quoted 2 lines

The include <linux/limits.h> in storage.c and hcitool.c are missing. My crosscompiler needs it.

this can't be, because we don't include header files from the kernel and so <linux/*> and <asm/*> are taboo. Does simply including <limits.h> is also working?

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hello Marcel

Quoted 2 lines

this can't be, because we don't include header files from the kernel and so <linux/*> and <asm/*> are taboo.

I'm sorry. I should have mentioned that PATH_MAX is missing. that would have been helpful...

Quoted 1 line

Does simply including <limits.h> is also working?

I checked the available headers. looks like sys/param.h is the choice. (But just because it includes <linux/limits.h>)

regards
Marco

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Marco,

Quoted 5 lines
Quoted 2 lines

this can't be, because we don't include header files from the kernel and so <linux/*> and <asm/*> are taboo.

I'm sorry. I should have mentioned that PATH_MAX is missing. that would have been helpful...

actually I thought that I addressed that :(

Quoted 4 lines
Quoted 1 line

Does simply including <limits.h> is also working?

I checked the available headers. looks like sys/param.h is the choice. (But just because it includes <linux/limits.h>)

Patch for it is now in the CVS.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users