2011-03-31 18:08:04

by Jaikumar Ganesh

[permalink] [raw]
Subject: [PATCH] Fix include paths for health plugin.

Fix the include path of l2cap.h and sdp_lib.h
---
health/hdp.c | 2 +-
health/hdp_util.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/health/hdp.c b/health/hdp.c
index 7fed483..6f2c89d 100644
--- a/health/hdp.c
+++ b/health/hdp.c
@@ -37,7 +37,7 @@
#include <mcap.h>
#include <btio.h>
#include <mcap_lib.h>
-#include <l2cap.h>
+#include <bluetooth/l2cap.h>
#include <sdpd.h>
#include "../src/dbus-common.h"
#include <unistd.h>
diff --git a/health/hdp_util.c b/health/hdp_util.c
index aefe5f9..9ccb648 100644
--- a/health/hdp_util.c
+++ b/health/hdp_util.c
@@ -34,7 +34,7 @@
#include <hdp.h>

#include <sdpd.h>
-#include <sdp_lib.h>
+#include <bluetooth/sdp_lib.h>
#include <glib-helper.h>

#include <btio.h>
--
1.7.3.1



2011-04-01 13:44:55

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] Fix include paths for health plugin.

Hi Jaikumar,

On Thu, Mar 31, 2011, Jaikumar Ganesh wrote:
> Fix the include path of l2cap.h and sdp_lib.h
> ---
> health/hdp.c | 2 +-
> health/hdp_util.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Pushed upstream. Thanks.

Johan