diff options
author | ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com> | 2017-12-05 21:23:48 +0900 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-12-05 16:18:57 -0200 |
commit | 5e7ad41d088fb5d169256df61bc93ce33bc0fbef (patch) | |
tree | ba0baf9a0e5cc30200e1ed0408641170125d1122 /client/agent.c | |
parent | cb1c2622faed53a2612ec8bdffab5b0f72707696 (diff) | |
download | bluez-5e7ad41d088fb5d169256df61bc93ce33bc0fbef.tar.gz |
shared/shell: Fix no version output with option
bluetoothctl does output the following error message with the option
-v/--version.
$ bluetoothctl --version
Unknown option --version
Diffstat (limited to 'client/agent.c')
-rw-r--r-- | client/agent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/agent.c b/client/agent.c index e8ca4dd19..70c3248c0 100644 --- a/client/agent.c +++ b/client/agent.c @@ -31,6 +31,8 @@ #include <unistd.h> #include <string.h> +#include <glib.h> + #include "src/shared/shell.h" #include "gdbus/gdbus.h" #include "agent.h" |