The reason is because although plugin.h refers to DBusError (in the typedef) and plugin_req_auth refers to bdaddr_t, there are no #includes for either and in the plugin.h file. DS