diff options
author | anastas | 2009-06-23 15:29:14 +0000 |
---|---|---|
committer | anastas | 2009-06-23 15:29:14 +0000 |
commit | 2d2148e9bd7b29fab004e9155cbe09f5b9ae1951 (patch) | |
tree | bc310ddef2fcf8a48c533e6474c62773a723fef4 /usrp2/host | |
parent | 761c5eb844042d4f046e905f37081872b62f3c29 (diff) | |
download | gnuradio-2d2148e9bd7b29fab004e9155cbe09f5b9ae1951.tar.gz gnuradio-2d2148e9bd7b29fab004e9155cbe09f5b9ae1951.tar.bz2 gnuradio-2d2148e9bd7b29fab004e9155cbe09f5b9ae1951.zip |
added include <cstdio> statements in several files to make it compatible with g++ 4.4
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11267 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/host')
-rw-r--r-- | usrp2/host/apps/find_usrps.cc | 1 | ||||
-rw-r--r-- | usrp2/host/apps/gpio.cc | 1 | ||||
-rw-r--r-- | usrp2/host/apps/rx_streaming_samples.cc | 1 | ||||
-rw-r--r-- | usrp2/host/apps/test_mimo_tx.cc | 1 | ||||
-rw-r--r-- | usrp2/host/apps/tx_samples.cc | 1 | ||||
-rw-r--r-- | usrp2/host/lib/eth_buffer.cc | 1 | ||||
-rw-r--r-- | usrp2/host/lib/ethernet.cc | 2 | ||||
-rw-r--r-- | usrp2/host/lib/find.cc | 1 | ||||
-rw-r--r-- | usrp2/host/lib/usrp2.cc | 1 |
9 files changed, 10 insertions, 0 deletions
diff --git a/usrp2/host/apps/find_usrps.cc b/usrp2/host/apps/find_usrps.cc index 1010c4aff..ff6b4ab79 100644 --- a/usrp2/host/apps/find_usrps.cc +++ b/usrp2/host/apps/find_usrps.cc @@ -22,6 +22,7 @@ #include <usrp2/usrp2.h> #include <iostream> +#include <cstdio> #include <getopt.h> static void diff --git a/usrp2/host/apps/gpio.cc b/usrp2/host/apps/gpio.cc index 770b54ee2..2fee7e761 100644 --- a/usrp2/host/apps/gpio.cc +++ b/usrp2/host/apps/gpio.cc @@ -22,6 +22,7 @@ #include <usrp2/usrp2.h> #include <iostream> +#include <cstdio> int main(int argc, char **argv) diff --git a/usrp2/host/apps/rx_streaming_samples.cc b/usrp2/host/apps/rx_streaming_samples.cc index 931ab9707..8479ae1b2 100644 --- a/usrp2/host/apps/rx_streaming_samples.cc +++ b/usrp2/host/apps/rx_streaming_samples.cc @@ -27,6 +27,7 @@ #include <gruel/realtime.h> #include <sys/time.h> #include <iostream> +#include <cstdio> #include <string.h> #include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> diff --git a/usrp2/host/apps/test_mimo_tx.cc b/usrp2/host/apps/test_mimo_tx.cc index 388c348d7..f52bfd582 100644 --- a/usrp2/host/apps/test_mimo_tx.cc +++ b/usrp2/host/apps/test_mimo_tx.cc @@ -33,6 +33,7 @@ #include <usrp2/usrp2.h> #include <usrp2/strtod_si.h> #include <iostream> +#include <cstdio> #include <complex> #include <getopt.h> #include <gruel/realtime.h> diff --git a/usrp2/host/apps/tx_samples.cc b/usrp2/host/apps/tx_samples.cc index 8ce643f0a..5c3728fb1 100644 --- a/usrp2/host/apps/tx_samples.cc +++ b/usrp2/host/apps/tx_samples.cc @@ -22,6 +22,7 @@ #include <usrp2/usrp2.h> #include <usrp2/strtod_si.h> #include <iostream> +#include <cstdio> #include <complex> #include <getopt.h> #include <gruel/realtime.h> diff --git a/usrp2/host/lib/eth_buffer.cc b/usrp2/host/lib/eth_buffer.cc index 4c346c292..bd37061fd 100644 --- a/usrp2/host/lib/eth_buffer.cc +++ b/usrp2/host/lib/eth_buffer.cc @@ -35,6 +35,7 @@ #include <errno.h> #include <stdexcept> #include <string.h> +#include <cstdio> #define ETH_BUFFER_DEBUG 0 // define to 0 or 1 diff --git a/usrp2/host/lib/ethernet.cc b/usrp2/host/lib/ethernet.cc index 65e989cec..e51680b2e 100644 --- a/usrp2/host/lib/ethernet.cc +++ b/usrp2/host/lib/ethernet.cc @@ -20,10 +20,12 @@ #include <config.h> #endif +#include "eth_buffer.h" #include "ethernet.h" #include "pktfilter.h" #include <open_usrp2_socket.h> +#include <cstdio> #include <iostream> #include <unistd.h> #include <fcntl.h> diff --git a/usrp2/host/lib/find.cc b/usrp2/host/lib/find.cc index f6c04a58e..d1df47fc5 100644 --- a/usrp2/host/lib/find.cc +++ b/usrp2/host/lib/find.cc @@ -29,6 +29,7 @@ #include <string.h> #include <iostream> #include <stdexcept> +#include <cstdio> #define FIND_DEBUG 0 diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc index f48d467ca..a2a9ecc11 100644 --- a/usrp2/host/lib/usrp2.cc +++ b/usrp2/host/lib/usrp2.cc @@ -27,6 +27,7 @@ #include <boost/weak_ptr.hpp> #include <string> #include <stdexcept> +#include <cstdio> namespace usrp2 { |