* [PATCH obexd] src/obex.h: Include stdint.h
@ 2012-02-03 10:59 Slawomir Bochenski
2012-02-03 21:22 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Slawomir Bochenski @ 2012-02-03 10:59 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Slawomir Bochenski
---
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
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH obexd] src/obex.h: Include stdint.h
2012-02-03 10:59 [PATCH obexd] src/obex.h: Include stdint.h Slawomir Bochenski
@ 2012-02-03 21:22 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-02-03 21:22 UTC (permalink / raw)
To: Slawomir Bochenski; +Cc: linux-bluetooth
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-03 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 10:59 [PATCH obexd] src/obex.h: Include stdint.h Slawomir Bochenski
2012-02-03 21:22 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).