Tweaks for gcc 4.3 based on patch from Marek Mahut <mmahut@fedoraproject.org>.
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Wed, 30 Apr 2008 02:24:06 +0000 (02:24 +0000)
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Wed, 30 Apr 2008 02:24:06 +0000 (02:24 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8292 221aa14e-8319-0410-a670-987f0aec2ac5

108 files changed:
gcell/src/lib/runtime/gc_aligned_alloc.cc
gcell/src/lib/runtime/gc_job_manager_impl.cc
gcell/src/lib/runtime/qa_job_manager.cc
gcell/src/lib/wrapper/qa_gcp_fft_1d_r2.cc
gnuradio-core/src/lib/filter/gr_fft_filter_ccc.cc
gnuradio-core/src/lib/filter/gr_fft_filter_fff.cc
gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc
gnuradio-core/src/lib/filter/qa_gr_fir_ccf.cc
gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc
gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc
gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc
gnuradio-core/src/lib/general/gr_bin_statistics_f.cc
gnuradio-core/src/lib/general/gr_circular_file.cc
gnuradio-core/src/lib/general/gr_delay.cc
gnuradio-core/src/lib/general/gr_fake_channel_coder_pp.cc
gnuradio-core/src/lib/general/gr_fft_vcc.cc
gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc
gnuradio-core/src/lib/general/gr_fft_vfc.cc
gnuradio-core/src/lib/general/gr_framer_sink_1.cc
gnuradio-core/src/lib/general/gr_head.cc
gnuradio-core/src/lib/general/gr_keep_one_in_n.cc
gnuradio-core/src/lib/general/gr_log2_const.h
gnuradio-core/src/lib/general/gr_null_source.cc
gnuradio-core/src/lib/general/gr_ofdm_bpsk_mapper.cc
gnuradio-core/src/lib/general/gr_ofdm_frame_sink.cc
gnuradio-core/src/lib/general/gr_ofdm_insert_preamble.cc
gnuradio-core/src/lib/general/gr_ofdm_mapper_bcv.cc
gnuradio-core/src/lib/general/gr_ofdm_qam_mapper.cc
gnuradio-core/src/lib/general/gr_ofdm_qpsk_mapper.cc
gnuradio-core/src/lib/general/gr_packet_sink.cc
gnuradio-core/src/lib/general/gr_peak_detector2_fb.cc
gnuradio-core/src/lib/general/gr_repeat.cc
gnuradio-core/src/lib/general/gr_simple_correlator.cc
gnuradio-core/src/lib/general/gr_simple_framer.cc
gnuradio-core/src/lib/general/gr_skiphead.cc
gnuradio-core/src/lib/general/gr_stream_mux.cc
gnuradio-core/src/lib/general/gr_stream_to_streams.cc
gnuradio-core/src/lib/general/gr_stream_to_vector.cc
gnuradio-core/src/lib/general/gr_streams_to_stream.cc
gnuradio-core/src/lib/general/gr_streams_to_vector.cc
gnuradio-core/src/lib/general/gr_test.cc
gnuradio-core/src/lib/general/gr_throttle.cc
gnuradio-core/src/lib/general/gr_vector_to_stream.cc
gnuradio-core/src/lib/general/gr_vector_to_streams.cc
gnuradio-core/src/lib/general/malloc16.c
gnuradio-core/src/lib/gengen/gr_chunks_to_symbols_XX.cc.t
gnuradio-core/src/lib/gengen/gr_peak_detector_XX.cc.t
gnuradio-core/src/lib/io/gr_file_descriptor_sink.cc
gnuradio-core/src/lib/io/gr_file_descriptor_source.cc
gnuradio-core/src/lib/io/gr_file_sink_base.cc
gnuradio-core/src/lib/io/gr_file_source.cc
gnuradio-core/src/lib/io/gr_message_sink.cc
gnuradio-core/src/lib/io/gr_message_source.cc
gnuradio-core/src/lib/io/gr_udp_sink.cc
gnuradio-core/src/lib/io/gr_udp_source.cc
gnuradio-core/src/lib/io/gri_logger.cc
gnuradio-core/src/lib/reed-solomon/decode_rs.c
gnuradio-core/src/lib/reed-solomon/encode_rs.c
gnuradio-core/src/lib/reed-solomon/exercise.c
gnuradio-core/src/lib/runtime/gr_dispatcher.cc
gnuradio-core/src/lib/runtime/gr_error_handler.cc
gnuradio-core/src/lib/runtime/gr_local_sighandler.cc
gnuradio-core/src/lib/runtime/gr_message.cc
gnuradio-core/src/lib/runtime/gr_preferences.cc
gnuradio-core/src/lib/runtime/gr_realtime.cc
gnuradio-core/src/lib/runtime/gr_scheduler_thread.cc
gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc
gnuradio-core/src/lib/runtime/gr_vmcircbuf_mmap_tmpfile.cc
gnuradio-core/src/tests/benchmark_nco.cc
gnuradio-core/src/tests/benchmark_vco.cc
gr-atsc/src/lib/atsc_bit_timing_loop.cc
gr-atsc/src/lib/atsci_reed_solomon.cc
gr-atsc/src/lib/atsci_sliding_correlator.h
gr-atsc/src/lib/atsci_sssr.cc
gr-atsc/src/lib/atsci_trellis_encoder.cc
gr-atsc/src/lib/atsci_viterbi_decoder.cc
gr-atsc/src/lib/interleaver_fifo.h
gr-atsc/src/lib/qa_atsci_data_interleaver.cc
gr-atsc/src/lib/qa_atsci_equalizer_nop.cc
gr-atsc/src/lib/qa_atsci_fake_single_viterbi.cc
gr-atsc/src/lib/qa_atsci_randomizer.cc
gr-atsc/src/lib/qa_atsci_reed_solomon.cc
gr-atsc/src/lib/qa_atsci_single_viterbi.cc
gr-atsc/src/lib/qa_atsci_trellis_encoder.cc
gr-audio-portaudio/src/audio_portaudio_sink.cc
gr-audio-portaudio/src/audio_portaudio_source.cc
gr-cvsd-vocoder/src/lib/cvsd_decode_bs.cc
gr-cvsd-vocoder/src/lib/cvsd_encode_sb.cc
gr-gcell/src/gcell_fft_vcc.cc
gr-gsm-fr-vocoder/src/lib/gsm/code.c
gr-gsm-fr-vocoder/src/lib/gsm/gsm_create.c
gr-trellis/src/lib/fsm.cc
gr-trellis/src/lib/fsm.h
gr-trellis/src/lib/trellis_permutation.cc
gr-video-sdl/src/video_sdl_sink_s.cc
gr-video-sdl/src/video_sdl_sink_uc.cc
pmt/src/lib/pmt.cc
usrp/host/apps/usrper.cc
usrp/host/lib/inband/qa_inband_packet_prims.cc
usrp/host/lib/inband/test_usrp_inband.cc
usrp/host/lib/inband/usrp_inband_usb_packet.cc
usrp/host/lib/inband/usrp_rx_stub.cc
usrp/host/lib/inband/usrp_server.cc
usrp/host/lib/legacy/fusb_win32.cc
usrp/host/lib/legacy/usrp_basic.cc
usrp/host/lib/legacy/usrp_local_sighandler.cc
usrp/host/lib/legacy/usrp_prims.cc
usrp/host/misc/getopt.c

index fa20a64432ddf9d8373ca75dc847d8bb1567aa8a..6f9a999b916f984273cb6f52b6cb2d9bb742b157 100644 (file)
@@ -25,6 +25,7 @@
 #include <gc_aligned_alloc.h>
 #include <stdlib.h>
 #include <stdexcept>
+#include <string.h>
 
 // custom deleter of anything that can be freed with "free"
 class free_deleter {
index 9c859511b9ea2303614781b8c0f85b4084deb85a..2b4b83f4fc6e5e8cb9d4f611570e275da678790c 100644 (file)
@@ -36,6 +36,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <string.h>
 
 
 static const size_t CACHE_LINE_SIZE = 128;
index 53a1ec68110593980cea85253c3f75b00fbc8700..e37e3c37fe07afc7031f29b5e8d064b95cf45a20 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <time.h>
 #include <errno.h>
+#include <string.h>
 
 #include <malloc.h>
 
index 404f836577c34744c6afb6f44489e05cfd14adb9..dbbe05fbc5df3a861dd3737cd22eff0b8177bec3 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <stdlib.h>    // random, posix_memalign
 #include <algorithm>
+#include <string.h>
 
 typedef boost::shared_ptr<void> void_sptr;
 
index a4e6c9919f54e705410ba9ced649566761dd5393..1083b181c4e903468acc79650297ef362d5e11ff 100644 (file)
@@ -38,6 +38,7 @@
 #include <gr_firdes.h>
 
 #include <iostream>
+#include <string.h>
 
 gr_fft_filter_ccc_sptr gr_make_fft_filter_ccc (int decimation, const std::vector<gr_complex> &taps)
 {
index 865f8a1eb42fdb63a7618f570beb91fda0bc646c..28ee3e07087a326d8db7184adac0aba86d98b69c 100644 (file)
@@ -33,6 +33,7 @@
 #include <gr_firdes.h>
 
 #include <iostream>
+#include <string.h>
 
 gr_fft_filter_fff_sptr gr_make_fft_filter_fff (int decimation, const std::vector<float> &taps)
 {
index aee0e4614aff6ae826ff22cd688652de0f7efc95..52f3340a9e6c6f02ad80f0aafe43270e6e112be1 100644 (file)
@@ -47,6 +47,7 @@ typedef       gr_complex      acc_type;
 #include <cppunit/TestAssert.h>
 #include <random.h>
 #include <malloc16.h>
+#include <string.h>
 
 using std::vector;
 
index 1d57cd0cd471b57116d30281f06ea9a3690ed476..6bb63f240670aecec69ea2319d34406969506f04 100644 (file)
@@ -47,6 +47,7 @@ typedef       gr_complex      acc_type;
 #include <cppunit/TestAssert.h>
 #include <random.h>
 #include <malloc16.h>
+#include <string.h>
 
 using std::vector;
 
index 93b84b9c31137098d6058bad0c9721a4fcb74d78..bb56d17883251f6016c409e7d916f4c0b9f31a8e 100644 (file)
@@ -46,6 +46,7 @@ typedef       gr_complex      acc_type;
 #include <gr_types.h>
 #include <cppunit/TestAssert.h>
 #include <random.h>
+#include <string.h>
 
 using std::vector;
 
index abb2caeac5ffea87a920fc3a5b32a229f54640fa..380435bf7c4161dde89b8ed7ebb99db0b0aa6121 100644 (file)
@@ -32,6 +32,7 @@
 #include <cmath>
 #include <cppunit/TestAssert.h>
 #include <random.h>
+#include <string.h>
 
 using std::vector;
 
index 4d4d99617b4e82b28b2c6f1a8769c7ca0117122a..906a72c4ce6fedb44c0571e87d256de7daebbac2 100644 (file)
@@ -28,6 +28,7 @@
 #include <gr_io_signature.h>
 #include <assert.h>
 #include <stdexcept>
+#include <string.h>
 
 //define ALIGN_ADVANCED_IMPLEMENTATION to have an alternative implementation of the align algoritm which exactly follows the align_interval spec.
 //It is more resource intensive, less tested and probably not needed
index ab91f57e898be1cb07865ca8ac217cafe9a37fc6..61abd72b86591ad364322a280e5117e8907c4760 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_bin_statistics_f.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_bin_statistics_f_sptr
 gr_make_bin_statistics_f(unsigned int vlen,
index 6f605419e122cb1241822525b8f3319242b71f78..468b49a1087246ac2e2a1ddaa77bb3fa8a3ead9d 100644 (file)
@@ -39,6 +39,8 @@
 #include <stdlib.h>
 
 #include <algorithm>
+#include <stdio.h>
+#include <string.h>
 
 static const int HEADER_SIZE = 4096;
 static const int HEADER_MAGIC = 0xEB021026;
index a5709c1e7d8d0f8dd8d0c8cd9fc72b2f6ed444b0..d52faca39a58f45bd2419e045107f004cb513429 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_delay.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_delay_sptr
 gr_make_delay (size_t itemsize, int delay)
index accd25fb82aa6655893c146923982789e07bfcd8..02385c59e407de3fcfaa3720a51b026b4bacfc0b 100644 (file)
@@ -28,6 +28,7 @@
 #include <gr_io_signature.h>
 #include <string.h>
 #include <stdexcept>
+#include <string.h>
 
 static const int PAD_VAL = 0xAA;
 
index 05de7fbd4f6cd120032c660f40f21e12677a95c2..d07f6fa078b15d13437bf254c46ee6d4c28bbc30 100644 (file)
@@ -29,6 +29,7 @@
 #include <gr_io_signature.h>
 #include <gri_fft.h>
 #include <math.h>
+#include <string.h>
 
 gr_fft_vcc_sptr
 gr_make_fft_vcc (int fft_size, bool forward,const std::vector<float> &window, bool shift)
index a70be014cfd944d686cdb166cd1339b13e903b15..f69d2e84ebed8c8916caf7ce3f22e71131326f3a 100644 (file)
@@ -28,6 +28,7 @@
 #include <gr_io_signature.h>
 #include <gri_fft.h>
 #include <math.h>
+#include <string.h>
 
 gr_fft_vcc_sptr
 gr_make_fft_vcc_fftw (int fft_size, bool forward, const std::vector<float> &window, bool shift)
index f6c14f9811d0aa7af0b8695e0e2a6a9328a9f103..c954e4443a920c0b20be872873884c7ecb385381 100644 (file)
@@ -29,6 +29,7 @@
 #include <gri_fft.h>
 #include <math.h>
 #include <stdexcept>
+#include <string.h>
 
 
 // FIXME after this is working, change to use native real to complex fft.
index 711345ed54adde5ca6960565cd1a3cb98ddeaba0..9da271bac716e8d89a603d5121b67896aab96ac1 100644 (file)
@@ -28,6 +28,7 @@
 #include <gr_io_signature.h>
 #include <cstdio>
 #include <stdexcept>
+#include <string.h>
 
 #define VERBOSE 0
 
index 7f0506cd94b046e518aced39a3b3ae3a5505c3a6..94a00cc68df2bfc38f57d9278506201252521934 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 #include <gr_head.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_head::gr_head (size_t sizeof_stream_item, int nitems)
   : gr_sync_block ("head",
index 9fb99ea3e71614cba70bda39b7b50251a13f0a91..e38240a3f612491f0a2cba696710dd67d989f1c8 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_keep_one_in_n.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_keep_one_in_n_sptr
 gr_make_keep_one_in_n (size_t item_size, int n)
index 058fcfff218e95774ed12854d5427c4cadadc1a5..4ea420920322708a60862de7094775f76f62d270 100644 (file)
 
 template<unsigned int k> static inline int gr_log2_const() { assert(0); return 0; }
 
-template<> static inline int gr_log2_const<1>()   { return 0; }
-template<> static inline int gr_log2_const<2>()   { return 1; }
-template<> static inline int gr_log2_const<4>()   { return 2; }
-template<> static inline int gr_log2_const<8>()   { return 3; }
-template<> static inline int gr_log2_const<16>()  { return 4; }
-template<> static inline int gr_log2_const<32>()  { return 5; }
-template<> static inline int gr_log2_const<64>()  { return 6; }
-template<> static inline int gr_log2_const<128>() { return 7; }
-template<> static inline int gr_log2_const<256>() { return 8; }
-template<> static inline int gr_log2_const<512>() { return 9; }
-template<> static inline int gr_log2_const<1024>(){ return 10; }
+template<> inline int gr_log2_const<1>()   { return 0; }
+template<> inline int gr_log2_const<2>()   { return 1; }
+template<> inline int gr_log2_const<4>()   { return 2; }
+template<> inline int gr_log2_const<8>()   { return 3; }
+template<> inline int gr_log2_const<16>()  { return 4; }
+template<> inline int gr_log2_const<32>()  { return 5; }
+template<> inline int gr_log2_const<64>()  { return 6; }
+template<> inline int gr_log2_const<128>() { return 7; }
+template<> inline int gr_log2_const<256>() { return 8; }
+template<> inline int gr_log2_const<512>() { return 9; }
+template<> inline int gr_log2_const<1024>(){ return 10; }
 
 #endif /* INCLUDED_GR_LOG2_CONST_H */
index 82853ccf5a6d30bcfdcaf52f01f527416e7dbf4a..d11976e1b47e438c45d68b1673aef744a3ebdeef 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_null_source.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_null_source::gr_null_source (size_t sizeof_stream_item)
   : gr_sync_block ("null_source",
index f634ed3f63c729ceb14472ee14c0813d644fd925..7865843571d93212c4bf62b658c0b649f3f25883 100644 (file)
@@ -27,6 +27,7 @@
 #include <gr_ofdm_bpsk_mapper.h>
 #include <gr_io_signature.h>
 #include <stdexcept>
+#include <string.h>
 
 gr_ofdm_bpsk_mapper_sptr
 gr_make_ofdm_bpsk_mapper (unsigned int msgq_limit, 
index ab0c31a2c07b390f6e1da2fa6b23d0063a3c3483..7e4996b0bbf51c4e150758d7c3c55307d03fdf6d 100644 (file)
@@ -32,6 +32,7 @@
 #include <cstdio>
 #include <stdexcept>
 #include <iostream>
+#include <string.h>
 
 #define VERBOSE 0
 
index ba7a010ea4d45c5d700a8bbd0f5ee7e5a0f2d7d1..3706c36725d80af937dc5350c4609b267d9fa6e6 100644 (file)
@@ -27,6 +27,7 @@
 #include <gr_io_signature.h>
 #include <stdexcept>
 #include <iostream>
+#include <string.h>
 
 gr_ofdm_insert_preamble_sptr
 gr_make_ofdm_insert_preamble(int fft_length,
index 0a3602cb21e0a9ec8fb2042611252800d5955186..56701b3c1110fb83049a74d0079d941e5234e42d 100644 (file)
@@ -28,6 +28,7 @@
 #include <gr_ofdm_mapper_bcv.h>
 #include <gr_io_signature.h>
 #include <stdexcept>
+#include <string.h>
 
 gr_ofdm_mapper_bcv_sptr
 gr_make_ofdm_mapper_bcv (const std::vector<gr_complex> &constellation, unsigned int msgq_limit, 
index 79d2a06c74c11491efecd7e439091a77d8074c0b..433b3bc31086e1369692f5afe272d0b72d1f38f3 100644 (file)
@@ -27,6 +27,7 @@
 #include <gr_ofdm_qam_mapper.h>
 #include <gr_io_signature.h>
 #include <stdexcept>
+#include <string.h>
 
 gr_ofdm_qam_mapper_sptr
 gr_make_ofdm_qam_mapper (unsigned int msgq_limit, 
index 39c5bbdee8dcd3af103375971afe6777abab2167..2c6fe5a558fadaaf66c36350dc3575849955685c 100644 (file)
@@ -27,6 +27,7 @@
 #include <gr_ofdm_qpsk_mapper.h>
 #include <gr_io_signature.h>
 #include <stdexcept>
+#include <string.h>
 
 gr_ofdm_qpsk_mapper_sptr
 gr_make_ofdm_qpsk_mapper (unsigned int msgq_limit, 
index 8e8225112f87aabdbdb893d53c6154be01fa08e5..0979f76d3d27d688c15280767886f23cdfaed4ba 100644 (file)
@@ -33,6 +33,7 @@
 #include <fcntl.h>
 #include <stdexcept>
 #include <gr_count_bits.h>
+#include <string.h>
 
 #define VERBOSE 0
 
index a84cf189f8a08ebdf07eccc896fe62a24b92ccf1..4f927bffe6b3a53927a57b083bdb5da88b97df80 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_peak_detector2_fb.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_peak_detector2_fb_sptr
 gr_make_peak_detector2_fb (float threshold_factor_rise,
index 5d6f93b30e59a7432d67918134a14fa654dc1394..aa1e17701d4dd19e1f4ddbd5cf76bf9900312630 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_repeat.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_repeat_sptr 
 gr_make_repeat(size_t itemsize, int interp)
index 5638ff72124900bd172df89614f3e1dfa6e2ac2f..0d575694b88700018a912a18bd6124ece561d414 100644 (file)
@@ -30,6 +30,7 @@
 #include <assert.h>
 #include <stdexcept>
 #include <gr_count_bits.h>
+#include <string.h>
 
 
 static const int THRESHOLD = 3;
index 33ae74e64eac338d202589589feafcebf057a1aa..d2de0954627bcf886412ce81f810a47b8aba62fd 100644 (file)
@@ -29,6 +29,7 @@
 #include <gr_io_signature.h>
 #include <assert.h>
 #include <stdexcept>
+#include <string.h>
 
 
 gr_simple_framer_sptr
index 82b3390cf2e99fcbbc53077e5753c0e5cc5608d0..45e3d5cb233903f9b6cb37fc84eb80891b096618 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 #include <gr_skiphead.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_skiphead::gr_skiphead (size_t itemsize, size_t nitems_to_skip)
   : gr_block ("skiphead",
index 763bcf220acfd02a5c0c619bc7a02ac5e24e745c..8ba13847132dffcad05df0830f5f75c80f3d97d8 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_stream_mux.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 #define VERBOSE 0
 
index 1efbe31b67ba159307443dfd5f2708ff268eb592..b38a8d4d812830050f6539ca40a2e762e6e58066 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_stream_to_streams.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_stream_to_streams_sptr
 gr_make_stream_to_streams (size_t item_size, size_t nstreams)
index 739d38d83e161ca3480c0858c8c6a7dac0ad9cb2..fd233adca7ca58e6c9d20c7ed4714cb08ac67dfc 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_stream_to_vector.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_stream_to_vector_sptr
 gr_make_stream_to_vector (size_t item_size, size_t nitems_per_block)
index f4c939e7c48554979d3d3b958f77311339a4a14c..6f6b49a82c81e4c29fc0d22608e237c58e01fc7c 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_streams_to_stream.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_streams_to_stream_sptr
 gr_make_streams_to_stream (size_t item_size, size_t nstreams)
index c0d130b53862d9ddbb2c83a57d7b18df91961540..f3ee2c49aa4ed09707dc1a82c76dc7a16ddece23 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_streams_to_vector.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_streams_to_vector_sptr
 gr_make_streams_to_vector (size_t item_size, size_t nstreams)
index 9698c23a73000bc95d426487758ba778f83a81dd..a04554ec4e243a6a5d7d83f1e563c78a55266478 100644 (file)
@@ -28,6 +28,7 @@
 #include <gr_io_signature.h>
 #include <stdexcept>
 #include <iostream>
+#include <string.h>
 
 gr_test_sptr gr_make_test (const std::string &name,
         int min_inputs, int max_inputs, unsigned int sizeof_input_item,
index 87ae5e979a116cc18668da51935893c0a1476a9e..88219c1c8031410c17353a569479864f6133acce 100644 (file)
@@ -29,6 +29,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <math.h>
+#include <string.h>
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif
index 39650aea64069ed5d3ede5bd0bad64010a124e8b..149bc0d5bf14fafa9780d887a3743a8ce78218df 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_vector_to_stream.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_vector_to_stream_sptr
 gr_make_vector_to_stream (size_t item_size, size_t nitems_per_block)
index cd3d82794b172862fff21e59f41a72ace445c753..19f15b1706383db4499ec050ac43de06f07be57c 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_vector_to_streams.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 gr_vector_to_streams_sptr
 gr_make_vector_to_streams (size_t item_size, size_t nstreams)
index 2cc6135e778185cf1642bf6a03ef98c66c41e06c..3317514998707338e7157c6594765a81714a54f6 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "malloc16.h"
 #include <string.h>
+#include <strings.h>
 
 void *malloc16Align(int size){
   void *p;
index e6bd6cae5ba0d3cd79f622836e01489c96883172..ab61fb08d33e76ac6363344a89533279dc732db3 100644 (file)
@@ -30,6 +30,7 @@
 #include <gr_io_signature.h>
 #include <assert.h>
 #include <iostream>
+#include <string.h>
 
 @SPTR_NAME@
 gr_make_@BASE_NAME@ (const std::vector<@O_TYPE@> &symbol_table, const int D)
index e2f6b50263aa641ae1c43fd2423dec3d3c74968a..ce63169207a3a18a09a4bf2b7ea1a94b7314b9f6 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <@NAME@.h>
 #include <gr_io_signature.h>
+#include <string.h>
 
 @SPTR_NAME@
 gr_make_@BASE_NAME@ (float threshold_factor_rise,
index a3a9a8c0e9fc182136957e4b8ac0601a9d4c0b18..2da66b7ae2827b98768af9d213d114bf3a437937 100644 (file)
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#include <stdio.h>
 
 
 gr_file_descriptor_sink::gr_file_descriptor_sink (size_t itemsize, int fd)
index b2d7c6bfb070abf1cca9d1eee1ca2df2e6015a56..700ad4aef5c07eba1f367f22623b648919d6d49d 100644 (file)
@@ -32,6 +32,8 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#include <stdio.h>
+#include <string.h>
 
 
 gr_file_descriptor_source::gr_file_descriptor_source (size_t itemsize,
index 1ce84fa88be505966b4133547655ff679774f7a5..29ac0dbb1dcb978dd1b433d12efa94ad822eab6f 100644 (file)
@@ -30,6 +30,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#include <stdio.h>
 
 // win32 (mingw/msvc) specific
 #ifdef HAVE_IO_H
index 95d1c0acaf7583a7326b00ae60b5f8ec88b02f2f..5591826d0cd80c2488b5b5f1e2f4199cb1e80e0e 100644 (file)
@@ -31,6 +31,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#include <stdio.h>
 
 // win32 (mingw/msvc) specific
 #ifdef HAVE_IO_H
index 0cb1c00296f0ed7ebadf0d778b597dd47b3f40b8..b9e0cc382fb513be2a4b8e8733b6c28405ca81e0 100644 (file)
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#include <string.h>
 
 
 // public constructor that returns a shared_ptr
index bf45318defe748d7931a9da4ae5ea7c943b134c1..3fbe3708eeb701519e285365af5486f5e1aec637 100644 (file)
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdexcept>
+#include <string.h>
 
 
 // public constructor that returns a shared_ptr
index 82cd5c29fe029d65dd778e57f2a04a389aa5c847..215eaf8d556c0a120f0ac49320617b860af8d806 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdexcept>
 #if defined(HAVE_SOCKET)
 #include <netdb.h>
+#include <stdio.h>
 typedef void* optval_t;
 #else
 #define SHUT_RDWR 2
index c65947ba6caf565fe5a49b6ee7f8505879f6c5a8..9b6ee6e7d8474a3580de629f1f57dabc735e52d4 100644 (file)
@@ -27,6 +27,8 @@
 #include <gr_io_signature.h>
 #include <stdexcept>
 #include <errno.h>
+#include <stdio.h>
+#include <string.h>
 #if defined(HAVE_SOCKET)
 #include <netdb.h>
 typedef void* optval_t;
index dbaace68950b5c1dbca43bd46614f966304afc7d..c085a93c8d31b9fbe2b1b41cab1d63b2eebebedb 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdarg.h>
 #include <stdexcept>
 #include <boost/weak_ptr.hpp>
+#include <string.h>
 
 
 /*
index ca409782fa43787b8e4dcda64990db7f5e2787d9..27ddd85321ab530a6967e579021d0d7d0a01cb72 100644 (file)
@@ -8,6 +8,7 @@
 #endif
 
 #include <string.h>
+#include <strings.h>
 
 #define NULL ((void *)0)
 #define        min(a,b)        ((a) < (b) ? (a) : (b))
index 9d56d0bf11d92d4a60cb073736fc3231711195c9..147f0a9e322eed5e2338c921954873523d0f5c75 100644 (file)
@@ -3,6 +3,7 @@
  * May be used under the terms of the GNU General Public License (GPL)
  */
 #include <string.h>
+#include <strings.h>
 
 #ifdef FIXED
 #include "fixed.h"
index 91d43e1572d002c100728626f40181dbb2ddbcb1..1e04f618d7e75f0cf15dff6541a38c26245c6e48 100644 (file)
@@ -13,6 +13,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 
 #ifdef FIXED
 #include "fixed.h"
index 1b0a1d7a302fd25d92a3dd0316915cacb84da7b3..e165361fc2ca2851f736376625aee3522c528489 100644 (file)
@@ -27,6 +27,7 @@
 #include <gr_dispatcher.h>
 #include <math.h>
 #include <errno.h>
+#include <stdio.h>
 
 #ifdef HAVE_SELECT
 #  ifdef HAVE_SYS_SELECT_H
index 4b4cdaceffd7cb1d69706de59067776b8974398b..6dbb0a5d263d198a68b1474663325fafda83c2e2 100644 (file)
@@ -48,6 +48,7 @@
 #include <assert.h>
 #include <stdexcept>
 #include <unistd.h>
+#include <stdio.h>
 
 #ifdef HAVE_IO_H
 #include <io.h>
index c6448f87220c379fa7fc8f9a01aeb7fda187f242..adad557910d1af5612b5d214bd4b961176017a96 100644 (file)
@@ -27,6 +27,7 @@
 #include <gr_local_sighandler.h>
 #include <stdexcept>
 #include <stdio.h>
+#include <string.h>
 
 
 gr_local_sighandler::gr_local_sighandler (int signum,
index f14ed9d9c4fd90c9cdafc0556c2d12e04786dcff..6bef71ed56912b31544e1a30cb89fabbd830e13a 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 #include <gr_message.h>
 #include <assert.h>
+#include <string.h>
 
 static long s_ncurrently_allocated = 0;
 
index 16c9bcafe3b7c7545274ec1064a412ac2b2750a6..e0be2db62788b1681028121a3e6be2b21012fb7c 100644 (file)
@@ -31,6 +31,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <string.h>
 
 
 #ifdef MKDIR_TAKES_ONE_ARG
index 35d0ef38103154af50dab970d9a63797adb23d18..d3cda0eaa50af15db5b0c8b31b54d5131ca77fb7 100644 (file)
@@ -61,6 +61,7 @@ gr_enable_realtime_scheduling()
 #elif defined(HAVE_PTHREAD_SETSCHEDPARAM)
 
 #include <pthread.h>
+#include <stdio.h>
 
 gr_rt_status_t
 gr_enable_realtime_scheduling()
index bc8f9b97e91a5960acb1bbe90109cb2ccaf8fb98..07bd60500d4b3da4ed36136898679b982b01ad99 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gr_scheduler_thread.h>
 #include <iostream>
+#include <stdio.h>
 
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
index a70229610c7fdae1392993584d953a3f7b9fa3a9..abcf5b2a68e15d2c08c60a0d3d5d3b3c8146d370 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdexcept>
 #include <gr_preferences.h>
 #include <stdio.h>
+#include <string.h>
 #include <gr_local_sighandler.h>
 
 // all the factories we know about
index 173b3f732e288122fed244fd2026c298242cc074..faae4b396e43f6f258229dee34d446d43120872e 100644 (file)
@@ -41,7 +41,6 @@
 #include <gr_pagesize.h>
 #include <gr_tmp_path.h>
 
-
 gr_vmcircbuf_mmap_tmpfile::gr_vmcircbuf_mmap_tmpfile (int size)
   : gr_vmcircbuf (size)
 {
index 961442fc9010b526e1944668fe44e642398d6a52..9c4eff346f0a02e6ccd1202269234b82bcfe0cf0 100644 (file)
@@ -30,6 +30,7 @@
 #include <unistd.h>
 #include <gr_nco.h>
 #include <gr_fxpt_nco.h>
+#include <string.h>
 
 #define ITERATIONS     20000000
 #define BLOCK_SIZE     (10 * 1000)     // fits in cache
index 5b39bf15ee7739ffd9e2f862a708e355526f611d..ed0ae3b67900ccd86fe442d095a14bb19c17305f 100644 (file)
@@ -30,6 +30,7 @@
 #include <unistd.h>
 #include <gr_vco.h>
 #include <gr_fxpt_vco.h>
+#include <string.h>
 
 #define ITERATIONS     5000000
 #define BLOCK_SIZE     (10 * 1000)     // fits in cache
index d0fc5bcc156feafd7888d31fd57f7b699b063d3f..dbd864be5e99291dc01fce3f40eb795550009285 100644 (file)
@@ -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;
index 24645b0f655a34d688028624030b6d2fd02c10db..e20e76d71363b1efa57e564eecdf9667834c0fa9 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <atsci_reed_solomon.h>
 #include <assert.h>
+#include <string.h>
 
 extern "C" {
 #include "rs.h"
index 66c49e574f7a22ef39a35ac06ba3c1a59135b4aa..d6efd3409894ec0108e87004ea44ea045b43152b 100644 (file)
  * 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];
 
index 690647e1a76d05df7a4d63d55d46e7180a7bfba1..e3f82547ba651ba4959d1cf075b00f3521f528a0 100644 (file)
@@ -27,6 +27,7 @@
 #include <assert.h>
 #include <atsci_diag_output.h>
 #include <gr_math.h>
+#include <stdio.h>
 
 /*
  * ----------------------------------------------------------------
index b3bfb84d641062c84d3a3290310b98d64179bf7f..2ebccc371d04488d98b01602373ba8fde58a3f1b 100644 (file)
@@ -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;
 
index 66d0189a80aeb41d0427c1a29406f4819a9dcbaa..5b9ae4e10a9f9679e73a6e8c3b58e9568085991a 100644 (file)
@@ -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 */
index 6d1a445806a167ce785ceeb7b00fe1d73ae678ad..98764af49e49422fb627c2b121e7c192b3129797 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <interleaver_fifo.h>
 #include <string.h>
+#include <strings.h>
 
 /*!
  * \brief template class for interleaver fifo
index 63a9e0a641debe08404d0626bf513b47824c1d9e..e76a2f1f50cee44bc9511948aa7c74a0e65329cd 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <cppunit/TestAssert.h>
 #include <qa_atsci_data_interleaver.h>
+#include <string.h>
 
 
 /*!
index e7a041ba0ef1c011cf83c6149301ac8a330ad297..85584f55f0e72d37d0b30306e27dd26712f955fb 100644 (file)
@@ -28,6 +28,7 @@
 #include <cppunit/TestAssert.h>
 #include <assert.h>
 #include <iostream>
+#include <string.h>
 
 using std::cerr;
 using std::endl;
index 98cb9a0a0c64a8622f1356557074425552b1dd93..f50f3b6b8c3974cb153dbf3b60a9d803a4777b6b 100644 (file)
@@ -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;
index d4f7d19ddbf1539e2e5af15a121541be56f61772..b2d0bde8ab20b89b3ea9530eaaa2206005cda9df 100644 (file)
@@ -23,6 +23,7 @@
 #include <qa_atsci_randomizer.h>
 
 #include <cppunit/TestAssert.h>
+#include <string.h>
 
 static unsigned int expected_initial_states[] = {
   0x018f,
index 58cce0457f80748e101528218b53181e8f6cdd3b..b08c8af52aa835630f6ba805c315513b14904599 100644 (file)
@@ -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;
index 36e9592b7ba3b2bb5fbaa975f56582f3d64cee96..d7c29097e9d5f85e46ddb32adb3e0bec47efc83c 100644 (file)
@@ -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;
index bfb2d6872a428cf1800fb8e4743b6ae771cb8590..390776e823b31963be17cf5b3ffd50102f4f6a03 100644 (file)
@@ -30,6 +30,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <time.h>
+#include <string.h>
 
 #define        NELEM(x) (sizeof (x) / sizeof (x[0]))
 
index 13197192f25c1ea8113a416d4c070afbc1026bc9..49c76a5f1299f6daf26c111c2eccc80156f79df3 100644 (file)
@@ -33,6 +33,7 @@
 #include <stdexcept>
 #include <gri_portaudio.h>
 #include <omnithread.h>
+#include <string.h>
 
 #define        LOGGING   0             // define to 0 or 1
 
index 653c16e023b0f3054f87c529e71e3688060f84d8..4ea4eeb9c9be7e2ae7753f79c13fc6e9f884ea1f 100644 (file)
@@ -33,6 +33,7 @@
 #include <stdexcept>
 #include <gri_portaudio.h>
 #include <omnithread.h>
+#include <string.h>
 
 #define        LOGGING 0               // define to 0 or 1
 
index fbddd705c18aad8663967111e69a6781f426bfe5..6b44c57e5f9231df759ea5da9cc7da0f042788af 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <cvsd_decode_bs.h>
 #include <gr_io_signature.h>
+#include <limits.h>
 
 /*
  * Create a new instance of cvsd_decode_bs and return
index d6a281ce80a575d54ea597f603f1c1a0fff724ad..c2d13d19bc3748a65a55516830b6837c215c96a2 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <cvsd_encode_sb.h>
 #include <gr_io_signature.h>
+#include <limits.h>
 
 /*
  * Create a new instance of cvsd_encode_sb and return
index 4b781696d4b13098137abb33342b87cb8a3a59a9..0491db9abd7de08102b5e4a31c343bcf4f9f3aae 100644 (file)
@@ -32,6 +32,7 @@
 #include <math.h>
 #include <assert.h>
 #include <stdexcept>
+#include <string.h>
 
 
 #define MIN_FFT_SIZE     32
index 73955429449457d249b86dbb40e62bb8fbdaf803..19af507b72aabfcb0cbb92da6386d7062b02972a 100644 (file)
@@ -19,6 +19,7 @@
 #include       "private.h"
 #include       "gsm.h"
 #include       "proto.h"
+#include <string.h>
 
 /* 
  *  4.2 FIXED POINT IMPLEMENTATION OF THE RPE-LTP CODER 
index a59aa2f2a38335b87ac0d943a5b1787bd3450ae2..de0b125b41d7713fa5694caa2a6623b3191d9df6 100644 (file)
@@ -30,6 +30,7 @@ static char const     ident[] = "$Header$";
 #include "gsm.h"
 #include "private.h"
 #include "proto.h"
+#include <strings.h>
 
 gsm gsm_create P0()
 {
index 4856dc231c780b266aee589505c2a0ea45e3fe53..cddb7e665910e90a160d8d09862136cecffd9d5e 100644 (file)
@@ -26,6 +26,7 @@
 #include <fstream>
 #include <stdexcept>
 #include <cmath>
+#include <stdlib.h>
 #include "base.h"
 #include "fsm.h"
 
index 2e364a678d08edf0a21fb51d46005201f0a4517e..e015a37fb2a4687d97cf0ca07531381315071a87 100644 (file)
@@ -24,6 +24,7 @@
 #define INCLUDED_TRELLIS_FSM_H
 
 #include <vector>
+#include <iosfwd>
 
 /*!
  * \brief  FSM class
index 161b6ee49de44d5d48d444f4f8f5436836a5d823..c80d820cd18d187ff7bdc2f763a1bc4c75642dad 100644 (file)
@@ -27,6 +27,7 @@
 #include <trellis_permutation.h>
 #include <gr_io_signature.h>
 #include <iostream>
+#include <string.h>
 
 trellis_permutation_sptr 
 trellis_make_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t NBYTES_INOUT)
index cc37c44d3ba1c4e3d8675049c471b4d20b2e9137..825cd80cb079b9e22d5e4d39dc63d00f42721c28 100644 (file)
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <iostream>
 #include <stdexcept>
+#include <string.h>
 
 
 
index c141a874500f2219aa3e12d23feca86f1752b34f..2d25399a89a329f580a29e157d8661bc30fdf4e3 100644 (file)
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <iostream>
 #include <stdexcept>
+#include <string.h>
 
 
 
index b2c04b3906b7a97d1fdae866de70bff990d6e072..a141224b30761285fd31b1e9437516ad09abae81 100644 (file)
@@ -28,6 +28,7 @@
 #include "pmt_int.h"
 #include <stdio.h>
 #include <pmt_pool.h>
+#include <string.h>
 
 static const int CACHE_LINE_SIZE = 64;         // good guess
 
index 88a438d55742e84e52345c7063817c3f77ef10fb..620287d46bbc362289f8885ba30c5a136e72c6a4 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "usrp_prims.h"
 #include "usrp_spi_defs.h"
+#include <string.h>
 
 char *prog_name;
 
index 868a1e06498f5e1a6265c4fa0afb9e53f3977803..d9bbbec22de7222dae4763b6226021709a6ad73b 100644 (file)
@@ -26,6 +26,7 @@
 #include <qa_inband_packet_prims.h>
 #include <cppunit/TestAssert.h>
 #include <stdio.h>
+#include <string.h>
 #include <usrp_inband_usb_packet.h>             // will change on gigabit crossover
 
 typedef usrp_inband_usb_packet transport_pkt;
index dd8d46f842e0bc94b2f87aa118ab8273edbd25f1..64fbf3a97a943b9fc5d58bad7bafef4256e65eef 100644 (file)
@@ -24,6 +24,7 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
 #include <iostream>
 #include <usrp_inband_usb_packet.h>
 #include <mb_mblock.h>
index b8befa4935665ec7f9960dfcf3c7035525955a80..ee4cb22f3f98c42171d616f709298287ceb39293 100644 (file)
@@ -28,6 +28,7 @@
 #include <usrp_bytesex.h>
 #include <iostream>
 #include <stdio.h>
+#include <string.h>
 
 bool usrp_inband_usb_packet::align32()
 {
index 5ea8135aaf897b73fae4fff4ff9748d0e3afe1c6..4bdb106b18ac1822b673bee8e8e06e180381f883 100644 (file)
@@ -33,6 +33,7 @@
 #include <fpga_regs_common.h>
 #include "usrp_standard.h"
 #include <stdio.h>
+#include <string.h>
 #include <ui_nco.h>
 #include <fstream>
 
index d73c7d5253adb7db06e3f3aaa71499df5feff9de..1948a43b2945de042bd356d1f39a7a6cfcf28905 100644 (file)
@@ -28,6 +28,7 @@
 #include <mb_class_registry.h>
 #include <vector>
 #include <usrp_usb_interface.h>
+#include <string.h>
 
 #include <symbols_usrp_server_cs.h>
 #include <symbols_usrp_channel.h>
@@ -35,6 +36,7 @@
 #include <symbols_usrp_rx.h>
 #include <symbols_usrp_low_level_cs.h>
 #include <symbols_usrp_interface_cs.h>
+
 static pmt_t s_shutdown = pmt_intern("%shutdown");
 
 typedef usrp_inband_usb_packet transport_pkt;   // makes conversion to gigabit easy
index eee373272a214c622b163f01c42b9e8bc53fb236..8900576d93b7d4a8b1777992f4c8f1bac40e13fa 100644 (file)
@@ -28,6 +28,7 @@
 #include <usb.h>
 #include <assert.h>
 #include <stdexcept>
+#include <string.h>
 
 static const int MAX_BLOCK_SIZE = fusb_sysconfig::max_block_size();
 static const int DEFAULT_BLOCK_SIZE = MAX_BLOCK_SIZE;
index 8bb4a191ef1bbd660b441061ce556ec340260199..f673003064abeefb68d827b7115daed1dbe71140 100644 (file)
@@ -34,6 +34,7 @@
 #include <assert.h>
 #include <math.h>
 #include <ad9862.h>
+#include <string.h>
 
 using namespace ad9862;
 
index b87a7656b35cb9b86914f03e04f12fe849c0862c..69cde0b37dce6b8bf682dd5a75da9012ab24cf80 100644 (file)
@@ -32,6 +32,7 @@
 #include <usrp_local_sighandler.h>
 #include <stdexcept>
 #include <stdio.h>
+#include <string.h>
 
 usrp_local_sighandler::usrp_local_sighandler (int signum,
                                              void (*new_handler)(int))
index 8fe87a723ada19fc39e6da2581c2a9e92b0840fe..0034bb31e1b848182acb69d3e22005486d88b8ad 100644 (file)
@@ -62,6 +62,7 @@ static char *default_firmware_filename = "std.ihx";
 static char *default_fpga_filename     = "std_2rxhb_2tx.rbf";
 
 #include "std_paths.h"
+#include <stdio.h>
 
 static char *
 find_file (const char *filename, int hw_rev)
index 75be3307c531af5a65a481de776e502b1f329016..34eeaa6a4c7ba6e45a1f7af170defecada26ec9e 100644 (file)
@@ -52,6 +52,7 @@ char *alloca ();
 #endif
 
 #include <stdio.h>
+#include <string.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C