aboutsummaryrefslogtreecommitdiffstats
path: root/thermometer
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-10-18 12:10:53 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-10-18 13:23:47 +0300
commit4a4b56556ff3682925bb5bb09da9db022df55e9d (patch)
treeaf6cebd58144a849d437bc3c8a5555f52b7a32da /thermometer
parent68838679e1d985ce4494206ace6e30b608f745a6 (diff)
downloadbluez-4a4b56556ff3682925bb5bb09da9db022df55e9d.tar.gz
bluez-4a4b56556ff3682925bb5bb09da9db022df55e9d.tar.xz
bluez-4a4b56556ff3682925bb5bb09da9db022df55e9d.zip
Fix implicit declaration of 'g_slist_free_full'
audio/avrcp.c: In function 'avrcp_unregister': audio/avrcp.c:1253: error: implicit declaration of function 'g_slist_free_full' thermometer/thermometer.c: In function 'destroy_char': thermometer/thermometer.c:79: error: implicit declaration of function 'g_slist_free_full'
Diffstat (limited to 'thermometer')
-rw-r--r--thermometer/thermometer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/thermometer/thermometer.c b/thermometer/thermometer.c
index 7621926b..0d851027 100644
--- a/thermometer/thermometer.c
+++ b/thermometer/thermometer.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gdbus.h>
#include <errno.h>
#include <bluetooth/uuid.h>
@@ -34,6 +38,7 @@
#include "att.h"
#include "gatt.h"
#include "thermometer.h"
+#include "glib-compat.h"
#define THERMOMETER_INTERFACE "org.bluez.Thermometer"