diff --git a/openair2/COMMON/platform_constants.h b/openair2/COMMON/platform_constants.h
index 922b72c52b622e9da578a524326f11c4c48ab9a2..056c8866af4285008fe0e72eb284adcfabe2c5e7 100755
--- a/openair2/COMMON/platform_constants.h
+++ b/openair2/COMMON/platform_constants.h
@@ -36,7 +36,11 @@
 
  ***************************************************************************/
 
+#ifdef CMAKER
+#include "asn1_constants.h"
+#else
 #include "RRC/LITE/MESSAGES/asn1_constants.h"
+#endif
 
 #ifndef __PLATFORM_CONSTANTS_H__
 #    define __PLATFORM_CONSTANTS_H__
diff --git a/openair2/COMMON/rrc_messages_types.h b/openair2/COMMON/rrc_messages_types.h
index 7a9b3cf872c2d1a6c6554d23373f04e39472a4f9..2c8ce1cf32fdeae7e5b540c338d6955b70b98a4e 100644
--- a/openair2/COMMON/rrc_messages_types.h
+++ b/openair2/COMMON/rrc_messages_types.h
@@ -40,7 +40,11 @@
 #include "as_message.h"
 #include "rrc_types.h"
 #include "s1ap_messages_types.h"
+#ifdef CMAKER
+#include "SystemInformationBlockType2.h"
+#else
 #include "RRC/LITE/MESSAGES/SystemInformationBlockType2.h"
+#endif
 
 //-------------------------------------------------------------------------------------------//
 // Messages for RRC logging
diff --git a/openair2/ENB_APP/enb_config.c b/openair2/ENB_APP/enb_config.c
index 5a3bb9b1709b0d8dd53de923664c865ea4ce7997..f3b1bce7b241ce146c72ed6c0e2f03c16437a4e5 100755
--- a/openair2/ENB_APP/enb_config.c
+++ b/openair2/ENB_APP/enb_config.c
@@ -56,7 +56,6 @@
 #   include "sctp_eNB_task.h"
 # endif
 #endif
-#include "RRC/LITE/MESSAGES/SystemInformationBlockType2.h"
 #include "LAYER2/MAC/extern.h"
 
 #define ENB_CONFIG_STRING_ACTIVE_ENBS                   "Active_eNBs"
diff --git a/openair2/ENB_APP/enb_config.h b/openair2/ENB_APP/enb_config.h
index 9cfb90552178e08469a2148950c7412105006c5a..9981be066e2f8ed30c9c2235758f473004ae281a 100755
--- a/openair2/ENB_APP/enb_config.h
+++ b/openair2/ENB_APP/enb_config.h
@@ -46,7 +46,11 @@
 #include "platform_constants.h"
 #include "PHY/impl_defs_lte.h"
 #include "s1ap_messages_types.h"
+#ifdef CMAKER
+#include "SystemInformationBlockType2.h"
+#else
 #include "RRC/LITE/MESSAGES/SystemInformationBlockType2.h"
+#endif
 
 // Hard to find a defined value for max enb...
 #define MAX_ENB 16
diff --git a/openair2/UTIL/LOG/log.h b/openair2/UTIL/LOG/log.h
index b5517c5b33675019039ade5fccbcc85b830b1b18..e3b549f96275848039a970db7921774c27123d70 100755
--- a/openair2/UTIL/LOG/log.h
+++ b/openair2/UTIL/LOG/log.h
@@ -55,6 +55,9 @@
 #include "rtai_fifos.h"
 #endif
 
+#ifdef CMAKER
+#include <ConfigOAI.h>
+#endif
 /*----------------------------------------------------------------------------*/
 
 #ifdef __cplusplus