diff --git a/audio/avrcp.c b/audio/avrcp.c
index 75a8384..e908bf4 100644
--- a/audio/avrcp.c
+++ b/audio/avrcp.c
#include "avctp.h"
#include "avrcp.h"
#include "sdpd.h"
-#include "glib-helper.h"
+#include "glib-compat.h"
#include "dbus-common.h"
/* Company IDs for vendor dependent commands */
diff --git a/thermometer/thermometer.c b/thermometer/thermometer.c
index 7621926..0d85102 100644
--- a/thermometer/thermometer.c
+++ b/thermometer/thermometer.c
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gdbus.h>
#include <errno.h>
#include <bluetooth/uuid.h>
#include "att.h"
#include "gatt.h"
#include "thermometer.h"
+#include "glib-compat.h"
#define THERMOMETER_INTERFACE "org.bluez.Thermometer"