From 0bb7f590b382979d1663b15c6ff673e1078891cd Mon Sep 17 00:00:00 2001 From: Joseph Giovatto Date: Mon, 10 Jun 2019 16:46:41 -0400 Subject: [PATCH] Moved include complex.h from header files to impl files to prevent error /wr to complex.h and c linkage in CentOS 7. --- lib/include/srslte/phy/modem/demod_hard.h | 1 - lib/include/srslte/phy/modem/demod_soft.h | 1 - lib/include/srslte/phy/modem/mod.h | 1 - lib/include/srslte/phy/modem/modem_table.h | 1 - lib/src/phy/modem/demod_soft.c | 1 + lib/src/phy/phch/phich.c | 1 + 6 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/include/srslte/phy/modem/demod_hard.h b/lib/include/srslte/phy/modem/demod_hard.h index 482466ab1..2d6f9e4c5 100644 --- a/lib/include/srslte/phy/modem/demod_hard.h +++ b/lib/include/srslte/phy/modem/demod_hard.h @@ -31,7 +31,6 @@ #ifndef SRSLTE_DEMOD_HARD_H #define SRSLTE_DEMOD_HARD_H -#include #include #include "srslte/config.h" diff --git a/lib/include/srslte/phy/modem/demod_soft.h b/lib/include/srslte/phy/modem/demod_soft.h index d2661e0fe..9f69fc14b 100644 --- a/lib/include/srslte/phy/modem/demod_soft.h +++ b/lib/include/srslte/phy/modem/demod_soft.h @@ -31,7 +31,6 @@ #ifndef SRSLTE_DEMOD_SOFT_H #define SRSLTE_DEMOD_SOFT_H -#include #include #include "srslte/config.h" diff --git a/lib/include/srslte/phy/modem/mod.h b/lib/include/srslte/phy/modem/mod.h index 889a02789..288958b56 100644 --- a/lib/include/srslte/phy/modem/mod.h +++ b/lib/include/srslte/phy/modem/mod.h @@ -31,7 +31,6 @@ #ifndef SRSLTE_MOD_H #define SRSLTE_MOD_H -#include #include #include "srslte/config.h" diff --git a/lib/include/srslte/phy/modem/modem_table.h b/lib/include/srslte/phy/modem/modem_table.h index cffe0b7b3..a2f92c0d1 100644 --- a/lib/include/srslte/phy/modem/modem_table.h +++ b/lib/include/srslte/phy/modem/modem_table.h @@ -32,7 +32,6 @@ #define SRSLTE_MODEM_TABLE_H #include -#include #include #include "srslte/phy/common/phy_common.h" diff --git a/lib/src/phy/modem/demod_soft.c b/lib/src/phy/modem/demod_soft.c index 1f1005cfc..10bc01cb7 100644 --- a/lib/src/phy/modem/demod_soft.c +++ b/lib/src/phy/modem/demod_soft.c @@ -21,6 +21,7 @@ #include #include +#include #include "srslte/phy/modem/demod_soft.h" #include "srslte/phy/utils/bit.h" diff --git a/lib/src/phy/phch/phich.c b/lib/src/phy/phch/phich.c index 9da6a6a7a..822db881c 100644 --- a/lib/src/phy/phch/phich.c +++ b/lib/src/phy/phch/phich.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "srslte/phy/phch/regs.h" #include "srslte/phy/phch/phich.h"