2005-04-22 11:16:58

by Marco Trudel

[permalink] [raw]
Subject: [Bluez-users] missing <linux/limits.h> include in storage.c and hcitool.c

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


2005-04-22 11:53:33

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] missing <linux/limits.h> include in storage.c and hcitool.c

Hi Marco,

> > 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 :(

> > 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

2005-04-22 11:48:05

by Marco Trudel

[permalink] [raw]
Subject: Re: [Bluez-users] missing <linux/limits.h> include in storage.c and hcitool.c

Hello Marcel

> 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...


> 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

2005-04-22 11:22:42

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] missing <linux/limits.h> include in storage.c and hcitool.c

Hi Marco,

> 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