Re: [PATCH obexd] src/obex.h: Include stdint.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Slawek,

On Fri, Feb 03, 2012, Slawomir Bochenski wrote:
> ---
>  src/obex.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/obex.h b/src/obex.h
> index 7f07fd2..95e9c4e 100644
> --- a/src/obex.h
> +++ b/src/obex.h
> @@ -22,6 +22,8 @@
>   *
>   */
>  
> +#include <stdint.h>
> +
>  #define OBJECT_SIZE_UNKNOWN -1
>  #define OBJECT_SIZE_DELETE -2

This file also contains GLib usage but there's no GLib include there.
Either *all* includes should be there or *none* should be there (i.e.
expect the .c files to include the dependencies). In this case I'd just
add the stdint include to whatever file had it missing (which one was it
btw?).

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux