diff --git a/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c b/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
index 3b2e81a0dfe40cd04ae811718b48f90b2f390260..aa835d52d49becd41d79c0de280061bc30300102 100644
--- a/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+++ b/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
@@ -69,6 +69,8 @@
 #define ENABLE_MAC_PAYLOAD_DEBUG
 #define DEBUG_eNB_SCHEDULER 1
 
+extern inline unsigned int taus(void);
+
 
 // function for determining which active ue should be granted resources in downlink based on CQI, SI, and BSR
 uint8_t find_dlgranted_UEs(module_id_t module_idP){
diff --git a/openair2/LAYER2/MAC/proto.h b/openair2/LAYER2/MAC/proto.h
index 3090760d26fcb280cef64af32cafd0d0f767589b..3beee62a27d11e397f02a097acec9e562740c058 100644
--- a/openair2/LAYER2/MAC/proto.h
+++ b/openair2/LAYER2/MAC/proto.h
@@ -41,7 +41,7 @@
 
 void add_ue_spec_dci(DCI_PDU *DCI_pdu,void *pdu,rnti_t rnti,unsigned char dci_size_bytes,unsigned char aggregation,unsigned char dci_size_bits,unsigned char dci_fmt,uint8_t ra_flag);
 
-extern inline unsigned int taus(void);
+//LG commented cause compilation error for RT eNB extern inline unsigned int taus(void);
 
 /** \brief First stage of Random-Access Scheduling. Loops over the RA_templates and checks if RAR, Msg3 or its retransmission are to be scheduled in the subframe.  It returns the total number of PRB used for RA SDUs.  For Msg3 it retrieves the L3msg from RRC and fills the appropriate buffers.  For the others it just computes the number of PRBs. Each DCI uses 3 PRBs (format 1A) 
 for the message.