summaryrefslogtreecommitdiffstats
path: root/btif/include/btif_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'btif/include/btif_util.h')
-rw-r--r--btif/include/btif_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/btif/include/btif_util.h b/btif/include/btif_util.h
index 09dae6e33..ddb469966 100644
--- a/btif/include/btif_util.h
+++ b/btif/include/btif_util.h
@@ -22,6 +22,7 @@
#include <hardware/bluetooth.h>
#include <hardware/bt_hf.h>
#include <utils/Log.h>
+#include <sys/time.h>
#include "data_types.h"
#include "bt_types.h"
@@ -60,7 +61,7 @@ const char* dump_av_conn_state(UINT16 event);
const char* dump_av_audio_state(UINT16 event);
int str2bd(char *str, bt_bdaddr_t *addr);
-char *bd2str(bt_bdaddr_t *addr, bdstr_t *bdstr);
+char *bd2str(const bt_bdaddr_t *addr, bdstr_t *bdstr);
UINT32 devclass2uint(DEV_CLASS dev_class);
void uint2devclass(UINT32 dev, DEV_CLASS dev_class);