From 8fb5a37b39eec101a16a53da3bc0a60eb58fceaf Mon Sep 17 00:00:00 2001
From: Navid Nikaein <navid.nikaein@eurecom.fr>
Date: Tue, 16 Jul 2013 08:20:14 +0000
Subject: [PATCH] protect includes related to DB (mysql)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4032 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair2/UTIL/OTG/otg_rx.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/openair2/UTIL/OTG/otg_rx.c b/openair2/UTIL/OTG/otg_rx.c
index 74f72db1b0..a428c60552 100644
--- a/openair2/UTIL/OTG/otg_rx.c
+++ b/openair2/UTIL/OTG/otg_rx.c
@@ -42,11 +42,13 @@
 #include "otg_vars.h"
 #include "../UTIL/MATH/oml.h"
 #include <math.h>
+#include "otg_form.h"
+
+#ifdef ENABLE_DB_STATS
 #include <mysql.h>
 #include <m_ctype.h>
 #include <sql_common.h>
-#include "otg_form.h"
-
+#endif 
 
 extern unsigned char NB_eNB_INST;
 extern unsigned char NB_UE_INST;
-- 
GitLab