Skip to contentSkip to conversation

gobex: add missing checks for config.h

PATCH Applied Luiz Augusto von Dentz 3 participants 4 messages Oct 18, 2011 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 gobex: add missing checks for config.h

From: Luiz Augusto von Dentz <[email protected]>

---
 gobex/gobex-defs.c   |    4 ++++
 gobex/gobex-header.c |    4 ++++
 gobex/gobex-packet.c |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)
gobex/gobex-defs.c +4 -0
index f1f3b38..beb773d 100644
@@ -19,6 +19,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <glib.h>
 
 #include "gobex-defs.h"
gobex/gobex-header.c +4 -0
index e70d5e4..da982a7 100644
@@ -19,6 +19,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <string.h>
 
 #include "gobex-header.h"
gobex/gobex-packet.c +4 -0
index d59bbce..b539430 100644
@@ -19,6 +19,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <string.h>
 #include <errno.h>
 
Signature · 1 line
1.7.6.4
#1 lore raw

Hi Luiz,

Quoted 5 lines · Luiz Augusto von Dentz
---
 gobex/gobex-defs.c   |    4 ++++
 gobex/gobex-header.c |    4 ++++
 gobex/gobex-packet.c |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)

Applied. Thanks.

Johan

maintainer
#2 lore raw
In reply to Luiz Augusto von Dentz

Hi Luiz,

Quoted 10 lines
 gobex/gobex-defs.c   |    4 ++++
 gobex/gobex-header.c |    4 ++++
 gobex/gobex-packet.c |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)
gobex/gobex-defs.c +0 -0
index f1f3b38..beb773d 100644

gobex/gobex-defs.c line 23

Quoted 5 lines
gobex/gobex-defs.c +2 -0
@@ -19,6 +19,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"

what is this space between # and include doing here. Please remove that.

And it is <config.h> and not "config.h".

Regards

Marcel

author maintainer
#3 lore raw

Hi Marcel,

On Tue, Oct 18, 2011 at 6:51 PM, Marcel Holtmann <[email protected]> wrot= e:

Quoted 15 lines

Hi Luiz,

Quoted 13 lines

=A0gobex/gobex-defs.c =A0 | =A0 =A04 ++++ =A0gobex/gobex-header.c | =A0 =A04 ++++ =A0gobex/gobex-packet.c | =A0 =A04 ++++
=A03 files changed, 12 insertions(+), 0 deletions(-)

gobex/gobex-defs.c +0 -0
index f1f3b38..beb773d 100644
@@ -19,6 +19,10 @@

=A0 *
=A0 */

Quoted 6 lines

gobex/gobex-defs.c

Quoted 2 lines
gobex/gobex-defs.c +2 -0
+#ifdef HAVE_CONFIG_H
+# include "config.h"

what is this space between # and include doing here. Please remove that.

And it is <config.h> and not "config.h".

Copy/paste, well I guess while Im at it I can change all other places to be consistent with what you are saying.

--=20
Luiz Augusto von Dentz