From 52e1272ba5962817af2dce5ac7eb6a670e3f8913 Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Tue, 7 May 2013 22:44:08 +0200 Subject: [PATCH] uhd: update includes --- lib/osmosdr_source_c_impl.cc | 4 ++-- lib/uhd/uhd_source_c.cc | 4 +--- lib/uhd/uhd_source_c.h | 5 ++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/osmosdr_source_c_impl.cc b/lib/osmosdr_source_c_impl.cc index f05e522..09f29cb 100644 --- a/lib/osmosdr_source_c_impl.cc +++ b/lib/osmosdr_source_c_impl.cc @@ -124,7 +124,7 @@ osmosdr_source_c_impl::osmosdr_source_c_impl (const std::string &args) std::cerr << "gr-osmosdr " << GR_OSMOSDR_VERSION " (" GR_OSMOSDR_LIBVER ") " << "gnuradio " << gr_version() << std::endl; - std::cerr << "built-in device types: "; + std::cerr << "built-in source types: "; BOOST_FOREACH(std::string dev_type, dev_types) std::cerr << dev_type << " "; std::cerr << std::endl << std::flush; @@ -164,7 +164,7 @@ osmosdr_source_c_impl::osmosdr_source_c_impl (const std::string &args) #endif #ifdef ENABLE_HACKRF BOOST_FOREACH( std::string dev, hackrf_source_c::get_devices() ) - dev_list.push_back( dev ); + dev_list.push_back( dev ); #endif // std::cerr << std::endl; // BOOST_FOREACH( std::string dev, dev_list ) diff --git a/lib/uhd/uhd_source_c.cc b/lib/uhd/uhd_source_c.cc index 79c4e47..ec33610 100644 --- a/lib/uhd/uhd_source_c.cc +++ b/lib/uhd/uhd_source_c.cc @@ -24,9 +24,7 @@ //#include -#include - -#include +#include "osmosdr_arg_helpers.h" #include "uhd_source_c.h" diff --git a/lib/uhd/uhd_source_c.h b/lib/uhd/uhd_source_c.h index b97eaea..84a7965 100644 --- a/lib/uhd/uhd_source_c.h +++ b/lib/uhd/uhd_source_c.h @@ -20,9 +20,8 @@ #ifndef UHD_SOURCE_C_H #define UHD_SOURCE_C_H -#include - -#include +#include +#include #include "osmosdr_src_iface.h"