diff --git a/targets/RTAI/USER/lte-enb.c b/targets/RTAI/USER/lte-enb.c
index 11e696a8722c21714ed381073abc5c957c1647e9..d3cb424347b13cbdd51d6240e8e37bb17b289ba4 100644
--- a/targets/RTAI/USER/lte-enb.c
+++ b/targets/RTAI/USER/lte-enb.c
@@ -52,6 +52,9 @@
 #include <getopt.h>
 
 #include "rt_wrapper.h"
+#undef MALLOC //there are two conflicting definitions, so we better make sure we don't use it at all
+
+#include "assertions.h"
 
 #ifdef EMOS
 #include <gps.h>
@@ -59,7 +62,11 @@
 
 #include "PHY/types.h"
 #include "PHY/defs.h"
+#undef MALLOC //there are two conflicting definitions, so we better make sure we don't use it at all
+#undef FRAME_LENGTH_COMPLEX_SAMPLES //there are two conflicting definitions, so we better make sure we don't use it at all
+
 #include "openair0_lib.h"
+#undef FRAME_LENGTH_COMPLEX_SAMPLES //there are two conflicting definitions, so we better make sure we don't use it at all
 
 #include "PHY/vars.h"
 #include "MAC_INTERFACE/vars.h"