am f976082e: Merge "Fix omitted libc includes."

* commit 'f976082eead2b7c19bf8c00d79e4723e6c4eb8e9':
  Fix omitted libc includes.
diff --git a/btif/co/bta_fs_co.c b/btif/co/bta_fs_co.c
index e85e9f9..6aa2571 100644
--- a/btif/co/bta_fs_co.c
+++ b/btif/co/bta_fs_co.c
@@ -16,6 +16,8 @@
  *
  ******************************************************************************/
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/types.h>
diff --git a/btif/co/bta_gatts_co.c b/btif/co/bta_gatts_co.c
index c061a28..09a16a2 100644
--- a/btif/co/bta_gatts_co.c
+++ b/btif/co/bta_gatts_co.c
@@ -22,6 +22,7 @@
 #if( defined BTA_GATT_INCLUDED ) && (BTA_GATT_INCLUDED == TRUE)
 
 #include <stdlib.h>
+#include <string.h>
 #include "gki.h"
 #include "bd.h"
 #include "bta_gatts_co.h"
diff --git a/btif/src/bluetooth.c b/btif/src/bluetooth.c
index 5c730f9..980507a 100644
--- a/btif/src/bluetooth.c
+++ b/btif/src/bluetooth.c
@@ -26,6 +26,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #include <hardware/bluetooth.h>
diff --git a/btif/src/btif_av.c b/btif/src/btif_av.c
index 8f3a974..22e33f8 100644
--- a/btif/src/btif_av.c
+++ b/btif/src/btif_av.c
@@ -27,6 +27,7 @@
 
 #include <hardware/bluetooth.h>
 #include <system/audio.h>
+#include <string.h>
 #include "hardware/bt_av.h"
 
 #define LOG_TAG "BTIF_AV"
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index ab2da46..baa6518 100644
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -24,8 +24,10 @@
  *
  *
  ***********************************************************************************/
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #include <hardware/bluetooth.h>
diff --git a/btif/src/btif_gatt_multi_adv_util.c b/btif/src/btif_gatt_multi_adv_util.c
index b32b8b5..30d02db 100644
--- a/btif/src/btif_gatt_multi_adv_util.c
+++ b/btif/src/btif_gatt_multi_adv_util.c
@@ -27,6 +27,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "btu.h"
 #include "bt_target.h"
 
diff --git a/btif/src/btif_hf.c b/btif/src/btif_hf.c
index fcf9f1e..976b6f4 100644
--- a/btif/src/btif_hf.c
+++ b/btif/src/btif_hf.c
@@ -28,6 +28,7 @@
 #include <hardware/bluetooth.h>
 #include <hardware/bt_hf.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define LOG_TAG "BTIF_HF"
 #include "btif_common.h"
diff --git a/btif/src/btif_hf_client.c b/btif/src/btif_hf_client.c
index f9025eb..a874e44 100644
--- a/btif/src/btif_hf_client.c
+++ b/btif/src/btif_hf_client.c
@@ -29,6 +29,7 @@
 #include <hardware/bluetooth.h>
 #include <hardware/bt_hf_client.h>
 #include <stdlib.h>
+#include <string.h>
 #include <cutils/properties.h>
 
 #define LOG_TAG "BTIF_HF_CLIENT"
diff --git a/btif/src/btif_mce.c b/btif/src/btif_mce.c
index 2ec2d41..7345384 100644
--- a/btif/src/btif_mce.c
+++ b/btif/src/btif_mce.c
@@ -29,6 +29,7 @@
 #include <hardware/bluetooth.h>
 #include <hardware/bt_mce.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define LOG_TAG "BTIF_MCE"
 #include "btif_common.h"
diff --git a/btif/src/btif_pan.c b/btif/src/btif_pan.c
index 3d31bf5..13c9990 100644
--- a/btif/src/btif_pan.c
+++ b/btif/src/btif_pan.c
@@ -27,6 +27,7 @@
 #include <hardware/bluetooth.h>
 #include <hardware/bt_pan.h>
 #include <assert.h>
+#include <string.h>
 #include <signal.h>
 #include <ctype.h>
 #include <sys/select.h>
diff --git a/btif/src/btif_profile_queue.c b/btif/src/btif_profile_queue.c
index 12cec2e..28d0d28 100644
--- a/btif/src/btif_profile_queue.c
+++ b/btif/src/btif_profile_queue.c
@@ -25,6 +25,7 @@
  ******************************************************************************/
 
 #include <hardware/bluetooth.h>
+#include <string.h>
 
 #define LOG_TAG "BTIF_QUEUE"
 #include "btif_common.h"
diff --git a/btif/src/btif_rc.c b/btif/src/btif_rc.c
index 34041bf..fbf5f39 100644
--- a/btif/src/btif_rc.c
+++ b/btif/src/btif_rc.c
@@ -26,6 +26,7 @@
  *****************************************************************************/
 #include <hardware/bluetooth.h>
 #include <fcntl.h>
+#include <string.h>
 #include "bta_api.h"
 #include "bta_av_api.h"
 #include "avrc_defs.h"
diff --git a/btif/src/btif_sock_rfc.c b/btif/src/btif_sock_rfc.c
index 46accf2..a1f3999 100644
--- a/btif/src/btif_sock_rfc.c
+++ b/btif/src/btif_sock_rfc.c
@@ -26,6 +26,7 @@
 #include <assert.h>
 #include <hardware/bluetooth.h>
 #include <hardware/bt_sock.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <errno.h>
diff --git a/btif/src/btif_sock_sdp.c b/btif/src/btif_sock_sdp.c
index afd99ce..3352919 100644
--- a/btif/src/btif_sock_sdp.c
+++ b/btif/src/btif_sock_sdp.c
@@ -30,6 +30,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 
 #define LOG_TAG "BTIF_SOCK_SDP"
diff --git a/main/bte_main.c b/main/bte_main.c
index 688c2b1..74983e5 100755
--- a/main/bte_main.c
+++ b/main/bte_main.c
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <assert.h>
 #include <signal.h>
+#include <string.h>
 #include <time.h>
 #include <hardware/bluetooth.h>