diff options
Diffstat (limited to 'gr-atsc/src/lib')
-rw-r--r-- | gr-atsc/src/lib/atsc_bit_timing_loop.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsci_reed_solomon.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsci_sliding_correlator.h | 5 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsci_sssr.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsci_trellis_encoder.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsci_viterbi_decoder.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/interleaver_fifo.h | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_data_interleaver.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_equalizer_nop.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_randomizer.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_reed_solomon.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_single_viterbi.cc | 1 | ||||
-rw-r--r-- | gr-atsc/src/lib/qa_atsci_trellis_encoder.cc | 1 |
14 files changed, 16 insertions, 2 deletions
diff --git a/gr-atsc/src/lib/atsc_bit_timing_loop.cc b/gr-atsc/src/lib/atsc_bit_timing_loop.cc index d0fc5bcc1..dbd864be5 100644 --- a/gr-atsc/src/lib/atsc_bit_timing_loop.cc +++ b/gr-atsc/src/lib/atsc_bit_timing_loop.cc @@ -27,6 +27,7 @@ #include <atsc_bit_timing_loop.h> #include <gr_io_signature.h> #include <atsc_consts.h> +#include <string.h> // Input rate changed from 20MHz to 19.2 to support usrp at 3 * 6.4MHz float input_rate = 19.2e6; diff --git a/gr-atsc/src/lib/atsci_reed_solomon.cc b/gr-atsc/src/lib/atsci_reed_solomon.cc index 24645b0f6..e20e76d71 100644 --- a/gr-atsc/src/lib/atsci_reed_solomon.cc +++ b/gr-atsc/src/lib/atsci_reed_solomon.cc @@ -22,6 +22,7 @@ #include <atsci_reed_solomon.h> #include <assert.h> +#include <string.h> extern "C" { #include "rs.h" diff --git a/gr-atsc/src/lib/atsci_sliding_correlator.h b/gr-atsc/src/lib/atsci_sliding_correlator.h index 66c49e574..d6efd3409 100644 --- a/gr-atsc/src/lib/atsci_sliding_correlator.h +++ b/gr-atsc/src/lib/atsci_sliding_correlator.h @@ -19,11 +19,12 @@ * the Free Software Foundation, Inc., 51 Franklin Street, * Boston, MA 02110-1301, USA. */ +#include <string> +#include <string.h> + #ifndef _ATSC_SLIDING_CORRELATOR_H_ #define _ATSC_SLIDING_CORRELATOR_H_ -#include <string> - extern const unsigned char atsc_pn511[511]; extern const unsigned char atsc_pn63[63]; diff --git a/gr-atsc/src/lib/atsci_sssr.cc b/gr-atsc/src/lib/atsci_sssr.cc index 690647e1a..e3f82547b 100644 --- a/gr-atsc/src/lib/atsci_sssr.cc +++ b/gr-atsc/src/lib/atsci_sssr.cc @@ -27,6 +27,7 @@ #include <assert.h> #include <atsci_diag_output.h> #include <gr_math.h> +#include <stdio.h> /* * ---------------------------------------------------------------- diff --git a/gr-atsc/src/lib/atsci_trellis_encoder.cc b/gr-atsc/src/lib/atsci_trellis_encoder.cc index b3bfb84d6..2ebccc371 100644 --- a/gr-atsc/src/lib/atsci_trellis_encoder.cc +++ b/gr-atsc/src/lib/atsci_trellis_encoder.cc @@ -23,6 +23,7 @@ #include <atsci_trellis_encoder.h> #include <assert.h> #include <stdio.h> +#include <string.h> static const int DIBITS_PER_BYTE = 4; diff --git a/gr-atsc/src/lib/atsci_viterbi_decoder.cc b/gr-atsc/src/lib/atsci_viterbi_decoder.cc index 66d0189a8..5b9ae4e10 100644 --- a/gr-atsc/src/lib/atsci_viterbi_decoder.cc +++ b/gr-atsc/src/lib/atsci_viterbi_decoder.cc @@ -25,6 +25,7 @@ #include <stdio.h> #include <cmath> #include "atsci_viterbi_mux.cc" +#include <string.h> /* How many separate Trellis encoders / Viterbi decoders run in parallel */ diff --git a/gr-atsc/src/lib/interleaver_fifo.h b/gr-atsc/src/lib/interleaver_fifo.h index 6d1a44580..98764af49 100644 --- a/gr-atsc/src/lib/interleaver_fifo.h +++ b/gr-atsc/src/lib/interleaver_fifo.h @@ -26,6 +26,7 @@ #include <interleaver_fifo.h> #include <string.h> +#include <strings.h> /*! * \brief template class for interleaver fifo diff --git a/gr-atsc/src/lib/qa_atsci_data_interleaver.cc b/gr-atsc/src/lib/qa_atsci_data_interleaver.cc index 63a9e0a64..e76a2f1f5 100644 --- a/gr-atsc/src/lib/qa_atsci_data_interleaver.cc +++ b/gr-atsc/src/lib/qa_atsci_data_interleaver.cc @@ -22,6 +22,7 @@ #include <cppunit/TestAssert.h> #include <qa_atsci_data_interleaver.h> +#include <string.h> /*! diff --git a/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc b/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc index e7a041ba0..85584f55f 100644 --- a/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc +++ b/gr-atsc/src/lib/qa_atsci_equalizer_nop.cc @@ -28,6 +28,7 @@ #include <cppunit/TestAssert.h> #include <assert.h> #include <iostream> +#include <string.h> using std::cerr; using std::endl; diff --git a/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc b/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc index 98cb9a0a0..f50f3b6b8 100644 --- a/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc +++ b/gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc @@ -29,6 +29,7 @@ #include <atsci_fake_single_viterbi.h> #include <qa_atsci_fake_single_viterbi.h> #include <random.h> +#include <string.h> static const int NTRIALS = 50; diff --git a/gr-atsc/src/lib/qa_atsci_randomizer.cc b/gr-atsc/src/lib/qa_atsci_randomizer.cc index d4f7d19dd..b2d0bde8a 100644 --- a/gr-atsc/src/lib/qa_atsci_randomizer.cc +++ b/gr-atsc/src/lib/qa_atsci_randomizer.cc @@ -23,6 +23,7 @@ #include <qa_atsci_randomizer.h> #include <cppunit/TestAssert.h> +#include <string.h> static unsigned int expected_initial_states[] = { 0x018f, diff --git a/gr-atsc/src/lib/qa_atsci_reed_solomon.cc b/gr-atsc/src/lib/qa_atsci_reed_solomon.cc index 58cce0457..b08c8af52 100644 --- a/gr-atsc/src/lib/qa_atsci_reed_solomon.cc +++ b/gr-atsc/src/lib/qa_atsci_reed_solomon.cc @@ -29,6 +29,7 @@ #include <stdio.h> #include <atsci_reed_solomon.h> #include <qa_atsci_reed_solomon.h> +#include <string.h> static const int NROOTS = 20; diff --git a/gr-atsc/src/lib/qa_atsci_single_viterbi.cc b/gr-atsc/src/lib/qa_atsci_single_viterbi.cc index 36e9592b7..d7c29097e 100644 --- a/gr-atsc/src/lib/qa_atsci_single_viterbi.cc +++ b/gr-atsc/src/lib/qa_atsci_single_viterbi.cc @@ -30,6 +30,7 @@ #include <atsci_single_viterbi.h> #include <qa_atsci_single_viterbi.h> #include <random.h> +#include <string.h> static const int NTRIALS = 50; diff --git a/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc b/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc index bfb2d6872..390776e82 100644 --- a/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc +++ b/gr-atsc/src/lib/qa_atsci_trellis_encoder.cc @@ -30,6 +30,7 @@ #include <string.h> #include <stdlib.h> #include <time.h> +#include <string.h> #define NELEM(x) (sizeof (x) / sizeof (x[0])) |