Moved include complex.h from header files to impl files to prevent

error /wr to complex.h and c linkage in CentOS 7.
This commit is contained in:
Joseph Giovatto 2019-06-10 16:46:41 -04:00 committed by Andre Puschmann
parent 2b82f21fd2
commit 0bb7f590b3
6 changed files with 2 additions and 4 deletions

View File

@ -31,7 +31,6 @@
#ifndef SRSLTE_DEMOD_HARD_H #ifndef SRSLTE_DEMOD_HARD_H
#define SRSLTE_DEMOD_HARD_H #define SRSLTE_DEMOD_HARD_H
#include <complex.h>
#include <stdint.h> #include <stdint.h>
#include "srslte/config.h" #include "srslte/config.h"

View File

@ -31,7 +31,6 @@
#ifndef SRSLTE_DEMOD_SOFT_H #ifndef SRSLTE_DEMOD_SOFT_H
#define SRSLTE_DEMOD_SOFT_H #define SRSLTE_DEMOD_SOFT_H
#include <complex.h>
#include <stdint.h> #include <stdint.h>
#include "srslte/config.h" #include "srslte/config.h"

View File

@ -31,7 +31,6 @@
#ifndef SRSLTE_MOD_H #ifndef SRSLTE_MOD_H
#define SRSLTE_MOD_H #define SRSLTE_MOD_H
#include <complex.h>
#include <stdint.h> #include <stdint.h>
#include "srslte/config.h" #include "srslte/config.h"

View File

@ -32,7 +32,6 @@
#define SRSLTE_MODEM_TABLE_H #define SRSLTE_MODEM_TABLE_H
#include <stdbool.h> #include <stdbool.h>
#include <complex.h>
#include <stdint.h> #include <stdint.h>
#include "srslte/phy/common/phy_common.h" #include "srslte/phy/common/phy_common.h"

View File

@ -21,6 +21,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <strings.h> #include <strings.h>
#include <complex.h>
#include "srslte/phy/modem/demod_soft.h" #include "srslte/phy/modem/demod_soft.h"
#include "srslte/phy/utils/bit.h" #include "srslte/phy/utils/bit.h"

View File

@ -27,6 +27,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <assert.h> #include <assert.h>
#include <math.h> #include <math.h>
#include <complex.h>
#include "srslte/phy/phch/regs.h" #include "srslte/phy/phch/regs.h"
#include "srslte/phy/phch/phich.h" #include "srslte/phy/phch/phich.h"