From 5d3a1947447c873b04720668a874b1895975fdef Mon Sep 17 00:00:00 2001 From: Alexander Fasching Date: Mon, 7 Oct 2019 00:31:31 +0200 Subject: [PATCH] Add includes for GR 3.8 Signed-off-by: Gwenhael Goavec-Merou --- src/applications/gqrx/receiver.cpp | 3 +++ src/applications/gqrx/receiver.h | 9 ++++++++- src/dsp/correct_iq_cc.h | 5 +++++ src/dsp/filter/fir_decim.cpp | 3 +++ src/dsp/filter/fir_decim.h | 5 +++++ src/dsp/lpf.h | 5 +++++ src/dsp/rx_filter.h | 6 ++++++ src/dsp/rx_rds.h | 7 +++++++ src/dsp/stereo_demod.h | 13 +++++++++++-- 9 files changed, 53 insertions(+), 3 deletions(-) diff --git a/src/applications/gqrx/receiver.cpp b/src/applications/gqrx/receiver.cpp index 361be52c..a62fb080 100644 --- a/src/applications/gqrx/receiver.cpp +++ b/src/applications/gqrx/receiver.cpp @@ -28,7 +28,10 @@ #include +#ifdef GNURADIO_37 #include +#endif + #include #include #include diff --git a/src/applications/gqrx/receiver.h b/src/applications/gqrx/receiver.h index f86d741d..1109240d 100644 --- a/src/applications/gqrx/receiver.h +++ b/src/applications/gqrx/receiver.h @@ -23,10 +23,17 @@ #ifndef RECEIVER_H #define RECEIVER_H +#ifdef GNURADIO_37 #include -#include #include #include +#else +#include +#include +#include +#endif + +#include #include #include #include diff --git a/src/dsp/correct_iq_cc.h b/src/dsp/correct_iq_cc.h index cb033782..410af766 100644 --- a/src/dsp/correct_iq_cc.h +++ b/src/dsp/correct_iq_cc.h @@ -28,7 +28,12 @@ #include #include #include + +#ifdef GNURADIO_37 #include +#else +#include +#endif class dc_corr_cc; class iq_swap_cc; diff --git a/src/dsp/filter/fir_decim.cpp b/src/dsp/filter/fir_decim.cpp index af2ebda7..7c7fc32f 100644 --- a/src/dsp/filter/fir_decim.cpp +++ b/src/dsp/filter/fir_decim.cpp @@ -24,7 +24,10 @@ #include #include +#ifdef GNURADIO_37 #include +#endif + #include #include diff --git a/src/dsp/filter/fir_decim.h b/src/dsp/filter/fir_decim.h index 9c026f48..ed40b021 100644 --- a/src/dsp/filter/fir_decim.h +++ b/src/dsp/filter/fir_decim.h @@ -22,7 +22,12 @@ */ #pragma once +#ifdef GNURADIO_37 #include +#else +#include +#endif + #include class fir_decim_cc; diff --git a/src/dsp/lpf.h b/src/dsp/lpf.h index 049b3a9c..953716a3 100644 --- a/src/dsp/lpf.h +++ b/src/dsp/lpf.h @@ -25,7 +25,12 @@ #include #include + +#ifdef GNURADIO_37 #include +#else +#include +#endif class lpf_ff; diff --git a/src/dsp/rx_filter.h b/src/dsp/rx_filter.h index 8723be32..82c32a1e 100644 --- a/src/dsp/rx_filter.h +++ b/src/dsp/rx_filter.h @@ -24,8 +24,14 @@ #define RX_FILTER_H #include + +#ifdef GNURADIO_37 #include #include +#else +#include +#include +#endif #define RX_FILTER_MIN_WIDTH 100 /*! Minimum width of filter */ diff --git a/src/dsp/rx_rds.h b/src/dsp/rx_rds.h index 17e406ae..f975ec11 100644 --- a/src/dsp/rx_rds.h +++ b/src/dsp/rx_rds.h @@ -24,11 +24,18 @@ #define RX_RDS_H #include + +#ifdef GNURADIO_37 #include #include #include #include #include +#else +#include +#include +#endif + #include #include #include diff --git a/src/dsp/stereo_demod.h b/src/dsp/stereo_demod.h index 28be5c0c..35069615 100644 --- a/src/dsp/stereo_demod.h +++ b/src/dsp/stereo_demod.h @@ -26,14 +26,23 @@ #include #include + +#ifdef GNURADIO_37 #include #include -#include #include #include #include -#include #include +#else +#include +#include +#include +#include +#endif + +#include +#include #include #include "dsp/lpf.h" #include "dsp/resampler_xx.h"