diff --git a/lib/osmosdr_source_c_impl.cc b/lib/osmosdr_source_c_impl.cc index 708831c..b8e4a2a 100644 --- a/lib/osmosdr_source_c_impl.cc +++ b/lib/osmosdr_source_c_impl.cc @@ -31,6 +31,7 @@ #include #include #include +#include #ifdef ENABLE_OSMOSDR #include @@ -113,10 +114,10 @@ osmosdr_source_c_impl::osmosdr_source_c_impl (const std::string &args) dev_types.push_back("miri"); #endif - std::cerr << "gr-osmosdr (" - << GR_OSMOSDR_VERSION << " / " << GR_OSMOSDR_LIBVER - << ") supported device types:" << std::endl; - std::cerr << " " << std::flush; + std::cerr << "gr-osmosdr " + << GR_OSMOSDR_VERSION " (" GR_OSMOSDR_LIBVER ") " + << "gnuradio " << gr_version() << std::endl; + std::cerr << "built-in device types: "; BOOST_FOREACH(std::string dev_type, dev_types) std::cerr << dev_type << " "; std::cerr << std::endl << std::flush;