[PATCH] DeviceInfo: Fix compilation with old glib |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add missing include glib-compat.h to deviceinfo.c. deviceinfo_free
is using g_slist_free_full() which is not available in old glib
resulting in compilation error.
deviceinfo/deviceinfo.c: In function ‘deviceinfo_free’:
deviceinfo/deviceinfo.c:66: error: implicit declaration of function ‘g_slist_free_full’
---
deviceinfo/deviceinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/deviceinfo/deviceinfo.c b/deviceinfo/deviceinfo.c
index e9fcd04..95fa12d 100644
--- a/deviceinfo/deviceinfo.c
+++ b/deviceinfo/deviceinfo.c
@@ -26,6 +26,7 @@
#include <glib.h>
#include <bluetooth/uuid.h>
+#include "glib-compat.h"
#include "adapter.h"
#include "device.h"
#include "gattrib.h"
--
on behalf of ST-Ericsson
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Bluez Devel]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Bluez Devel]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]