fix complex.h issue

This commit is contained in:
Francisco Paisana 2019-02-21 14:33:00 +00:00 committed by Andre Puschmann
parent 347f427c33
commit 7fd8ca82c6
1 changed files with 4 additions and 2 deletions

View File

@ -29,10 +29,12 @@
#define SRSLTE_SRSLTE_H
#ifdef __cplusplus
extern "C" {
#include <complex>
extern "C" {
#else
#include <complex.h>
#endif
#include <complex.h>
#include <math.h>
#include "srslte/config.h"