#include <glib.h>
#include <dlog.h>
#include <string.h>
+#if !defined(LIBNOTIFY_SUPPORT) && !defined(LIBNOTIFICATION_SUPPORT)
#include <syspopup_caller.h>
+#endif
#include "bluetooth-api.h"
#include "bt-service-network.h"
#include "bt-service-common.h"
DBusGProxy *profile_proxy;
DBusGConnection *conn;
- BT_CHECK_PARAMETER(device_address);
+ BT_CHECK_PARAMETER(device_address, return);
switch (role) {
case BLUETOOTH_NETWORK_PANU_ROLE:
DBusGProxy *profile_proxy;
DBusGConnection *conn;
- BT_CHECK_PARAMETER(device_address);
+ BT_CHECK_PARAMETER(device_address, return);
adapter_proxy = _bt_get_adapter_proxy();
retv_if(adapter_proxy == NULL, BLUETOOTH_ERROR_INTERNAL);