From 43c63492b5fc63d119f3dc507aa8fc26eaa4302f Mon Sep 17 00:00:00 2001
From: winckel <winckel@eurecom.fr>
Date: Wed, 4 Dec 2013 13:42:24 +0000
Subject: [PATCH] Fixed a build issue without ENABLE_USE_MME.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4587 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair2/ENB_APP/enb_app.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/openair2/ENB_APP/enb_app.c b/openair2/ENB_APP/enb_app.c
index 83e7feb11e..d2fdd89562 100644
--- a/openair2/ENB_APP/enb_app.c
+++ b/openair2/ENB_APP/enb_app.c
@@ -145,8 +145,10 @@ void *eNB_app_task(void *args_p)
     instance_t instance;
     itti_mark_task_ready (TASK_ENB_APP);
 
-# if defined(OAI_EMU)
+# if defined(ENABLE_USE_MME)
+#   if defined(OAI_EMU)
     enb_nb = oai_emulation.info.nb_enb_local;
+#   endif
 # endif
 
 # if defined(ENABLE_USE_MME)
-- 
GitLab