From 4a4b56556ff3682925bb5bb09da9db022df55e9d Mon Sep 17 00:00:00 2001 From: Frédéric Danis Date: Tue, 18 Oct 2011 12:10:53 +0200 Subject: 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' --- thermometer/thermometer.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'thermometer/thermometer.c') 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 +#endif + #include #include #include @@ -34,6 +38,7 @@ #include "att.h" #include "gatt.h" #include "thermometer.h" +#include "glib-compat.h" #define THERMOMETER_INTERFACE "org.bluez.Thermometer" -- cgit