diff options
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2012-02-24 10:42:31 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-24 18:45:47 +0200 |
commit | 2b9fc1b2d9cce2f2b635813b7787b40fa334132b (patch) | |
tree | af8a5094148469a252e481b1ade1f5c433fc8a80 /plugins | |
parent | e8d185f9dd114ecf623beda802ef374d655af586 (diff) | |
download | bluez-2b9fc1b2d9cce2f2b635813b7787b40fa334132b.tar.gz bluez-2b9fc1b2d9cce2f2b635813b7787b40fa334132b.tar.xz bluez-2b9fc1b2d9cce2f2b635813b7787b40fa334132b.zip |
mgmtops: Add missing compatibility header include
glib-compat.h needs to be included when either g_slist_free_full() or
g_list_free_full() is used on a C file. Otherwise, it will fail to build
on older (supported) Glib versions that lack these functions.
Fixes this build error on GLib 2.24.1:
plugins/mgmtops.c: In function ‘remove_controller’:
plugins/mgmtops.c:180: error: implicit declaration of function
‘g_slist_free_full’
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mgmtops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c index 5740e9c5..95fbe8b0 100644 --- a/plugins/mgmtops.c +++ b/plugins/mgmtops.c @@ -49,6 +49,7 @@ #include "event.h" #include "oob.h" #include "eir.h" +#include "glib-compat.h" #define MGMT_BUF_SIZE 1024 |