Fix some more missing libc includes.

stddef and signal are not pulled in transitively in glibc.

Change-Id: I7a834bbdc31ae2aee4cb700a223c1636fda42afa
diff --git a/bta/ag/bta_ag_sco.c b/bta/ag/bta_ag_sco.c
index ec00514..a698da4 100644
--- a/bta/ag/bta_ag_sco.c
+++ b/bta/ag/bta_ag_sco.c
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bta_api.h"
 #include "bta_ag_api.h"
 #include "bta_ag_co.h"
diff --git a/bta/av/bta_av_cfg.c b/bta/av/bta_av_cfg.c
index 9eb8bd6..48a67f0 100644
--- a/bta/av/bta_av_cfg.c
+++ b/bta/av/bta_av_cfg.c
@@ -23,6 +23,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bt_target.h"
 #include "gki.h"
 #include "bta_api.h"
diff --git a/bta/dm/bta_dm_cfg.c b/bta/dm/bta_dm_cfg.c
index 62ce9c6..606435b 100644
--- a/bta/dm/bta_dm_cfg.c
+++ b/bta/dm/bta_dm_cfg.c
@@ -23,6 +23,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bt_target.h"
 #include "bta_sys.h"
 #include "bta_api.h"
diff --git a/bta/hl/bta_hl_ci.c b/bta/hl/bta_hl_ci.c
index e4749d7..7226b8b 100644
--- a/bta/hl/bta_hl_ci.c
+++ b/bta/hl/bta_hl_ci.c
@@ -22,6 +22,9 @@
  *  subsystem call-in functions.
  *
  ******************************************************************************/
+
+#include <stddef.h>
+
 #include "bta_api.h"
 #include "btm_api.h"
 #include "bta_sys.h"
diff --git a/bta/mce/bta_mce_main.c b/bta/mce/bta_mce_main.c
index f313eb0..a7cbb01 100644
--- a/bta/mce/bta_mce_main.c
+++ b/bta/mce/bta_mce_main.c
@@ -23,6 +23,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bta_api.h"
 #include "bta_sys.h"
 #include "bta_mce_api.h"
diff --git a/bta/sys/bta_sys_ci.c b/bta/sys/bta_sys_ci.c
index d191077..a30763c 100644
--- a/bta/sys/bta_sys_ci.c
+++ b/bta/sys/bta_sys_ci.c
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bta_sys.h"
 #include "bta_sys_ci.h"
 
diff --git a/bta/sys/bta_sys_conn.c b/bta/sys/bta_sys_conn.c
index aef155b..c58b001 100644
--- a/bta/sys/bta_sys_conn.c
+++ b/bta/sys/bta_sys_conn.c
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bta_api.h"
 #include "bta_sys.h"
 #include "bta_sys_int.h"
diff --git a/bta/sys/ptim.c b/bta/sys/ptim.c
index cc69349..2e1ce20 100644
--- a/bta/sys/ptim.c
+++ b/bta/sys/ptim.c
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bt_target.h"
 #include "gki.h"
 #include "ptim.h"
diff --git a/bta/sys/utl.c b/bta/sys/utl.c
index 4bb1d95..d193d6f 100644
--- a/bta/sys/utl.c
+++ b/bta/sys/utl.c
@@ -21,6 +21,8 @@
  *  This file contains utility functions.
  *
  ******************************************************************************/
+#include <stddef.h>
+
 #include "utl.h"
 #include "gki.h"
 #include "btm_api.h"
diff --git a/gki/ulinux/gki_ulinux.c b/gki/ulinux/gki_ulinux.c
index 167ab88..a5e5969 100644
--- a/gki/ulinux/gki_ulinux.c
+++ b/gki/ulinux/gki_ulinux.c
@@ -29,7 +29,9 @@
 #include <errno.h>
 #include <malloc.h>
 #include <string.h>
+#include <signal.h>
 #include <sys/times.h>
+#include <time.h>
 
 #include "gki_int.h"
 #include "bt_utils.h"
diff --git a/hci/src/bt_hci_bdroid.c b/hci/src/bt_hci_bdroid.c
index 74a315b..f139759 100644
--- a/hci/src/bt_hci_bdroid.c
+++ b/hci/src/bt_hci_bdroid.c
@@ -28,6 +28,7 @@
 #define LOG_TAG "bt_hci_bdroid"
 
 #include <assert.h>
+#include <signal.h>
 #include <utils/Log.h>
 
 #include "btsnoop.h"
diff --git a/osi/src/alarm.c b/osi/src/alarm.c
index 0e56269..ed288f6 100644
--- a/osi/src/alarm.c
+++ b/osi/src/alarm.c
@@ -24,6 +24,7 @@
 #include <inttypes.h>
 #include <malloc.h>
 #include <string.h>
+#include <signal.h>
 #include <time.h>
 #include <utils/Log.h>
 
diff --git a/stack/mcap/mca_dact.c b/stack/mcap/mca_dact.c
index d147c39..acd8cc0 100644
--- a/stack/mcap/mca_dact.c
+++ b/stack/mcap/mca_dact.c
@@ -22,6 +22,9 @@
  *  Functions.
  *
  ******************************************************************************/
+
+#include <stddef.h>
+
 #include "bt_target.h"
 #include "bt_utils.h"
 #include "gki.h"
diff --git a/stack/rfcomm/rfc_l2cap_if.c b/stack/rfcomm/rfc_l2cap_if.c
index 5889257..9e3ad69 100644
--- a/stack/rfcomm/rfc_l2cap_if.c
+++ b/stack/rfcomm/rfc_l2cap_if.c
@@ -22,6 +22,8 @@
  *
  ******************************************************************************/
 
+#include <stddef.h>
+
 #include "bt_target.h"
 #include "gki.h"
 
diff --git a/stack/rfcomm/rfc_ts_frames.c b/stack/rfcomm/rfc_ts_frames.c
index 6b15831..3831ab5 100644
--- a/stack/rfcomm/rfc_ts_frames.c
+++ b/stack/rfcomm/rfc_ts_frames.c
@@ -21,6 +21,9 @@
  *  This file contains functions to send TS 07.10 frames
  *
  ******************************************************************************/
+
+#include <stddef.h>
+
 #include "bt_target.h"
 #include "gki.h"
 #include "rfcdefs.h"