linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH obexd] MAP/dummy: fix message-dummy.c build
@ 2012-03-15 11:05 Frédéric Danis
  2012-03-27 11:23 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Danis @ 2012-03-15 11:05 UTC (permalink / raw)
  To: linux-bluetooth

If g_slist_free_full is not supported by glib, build fails with error:

plugins/messages.o: In function `get_folder_listing':
/home/fdanis/src/obexd/plugins/messages.c:199: undefined reference to `g_slist_free_full'
---
 plugins/messages-dummy.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/plugins/messages-dummy.c b/plugins/messages-dummy.c
index 833c31c..afba7a7 100644
--- a/plugins/messages-dummy.c
+++ b/plugins/messages-dummy.c
@@ -34,6 +34,7 @@
 #include "log.h"
 
 #include "messages.h"
+#include "glib-helper.h"
 
 static char *root_folder = NULL;
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH obexd] MAP/dummy: fix message-dummy.c build
  2012-03-15 11:05 [PATCH obexd] MAP/dummy: fix message-dummy.c build Frédéric Danis
@ 2012-03-27 11:23 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-03-27 11:23 UTC (permalink / raw)
  To: Frédéric Danis; +Cc: linux-bluetooth

Hi Frédéric,

On Thu, Mar 15, 2012, Frédéric Danis wrote:
> If g_slist_free_full is not supported by glib, build fails with error:
> 
> plugins/messages.o: In function `get_folder_listing':
> /home/fdanis/src/obexd/plugins/messages.c:199: undefined reference to `g_slist_free_full'
> ---
>  plugins/messages-dummy.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-27 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 11:05 [PATCH obexd] MAP/dummy: fix message-dummy.c build Frédéric Danis
2012-03-27 11:23 ` 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).