summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r--gnuradio-runtime/apps/gnuradio-config-info.cc4
-rw-r--r--gnuradio-runtime/include/gnuradio/basic_block.h10
-rw-r--r--gnuradio-runtime/include/gnuradio/block.h8
-rw-r--r--gnuradio-runtime/include/gnuradio/block_detail.h4
-rw-r--r--gnuradio-runtime/include/gnuradio/buffer.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/logger.h16
-rw-r--r--gnuradio-runtime/include/gnuradio/math.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/messages/msg_passing.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/nco.h4
-rw-r--r--gnuradio-runtime/include/gnuradio/prefs.h4
-rw-r--r--gnuradio-runtime/include/gnuradio/py_feval.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/pycallback_object.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcmanager.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h10
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h6
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcserver_booter_aggregator.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/rpcserver_thrift.h12
-rw-r--r--gnuradio-runtime/include/gnuradio/tag_checker.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/thread/thread.h10
-rw-r--r--gnuradio-runtime/include/gnuradio/thread/thread_group.h4
-rw-r--r--gnuradio-runtime/include/gnuradio/thrift_server_template.h10
-rw-r--r--gnuradio-runtime/include/gnuradio/tpb_detail.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/types.h2
-rw-r--r--gnuradio-runtime/include/gnuradio/unittests.h2
-rw-r--r--gnuradio-runtime/include/pmt/pmt.h6
-rw-r--r--gnuradio-runtime/include/pmt/pmt_pool.h2
-rw-r--r--gnuradio-runtime/lib/basic_block.cc4
-rw-r--r--gnuradio-runtime/lib/block.cc4
-rw-r--r--gnuradio-runtime/lib/block_executor.cc8
-rw-r--r--gnuradio-runtime/lib/block_gateway_impl.cc2
-rw-r--r--gnuradio-runtime/lib/buffer.cc7
-rw-r--r--gnuradio-runtime/lib/circular_file.cc10
-rw-r--r--gnuradio-runtime/lib/controlport/rpcserver_selector.cc2
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc6
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc2
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc8
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.cc2
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.h2
-rw-r--r--gnuradio-runtime/lib/flowgraph.cc4
-rw-r--r--gnuradio-runtime/lib/hier_block2.cc4
-rw-r--r--gnuradio-runtime/lib/hier_block2_detail.cc4
-rw-r--r--gnuradio-runtime/lib/io_signature.cc2
-rw-r--r--gnuradio-runtime/lib/local_sighandler.cc2
-rw-r--r--gnuradio-runtime/lib/logger.cc2
-rw-r--r--gnuradio-runtime/lib/math/qa_fxpt.cc6
-rw-r--r--gnuradio-runtime/lib/math/qa_fxpt_nco.cc6
-rw-r--r--gnuradio-runtime/lib/math/qa_fxpt_vco.cc6
-rw-r--r--gnuradio-runtime/lib/math/qa_math.cc2
-rw-r--r--gnuradio-runtime/lib/math/random.cc2
-rw-r--r--gnuradio-runtime/lib/math/vco.h4
-rw-r--r--gnuradio-runtime/lib/msg_accepter.cc2
-rw-r--r--gnuradio-runtime/lib/pagesize.cc2
-rw-r--r--gnuradio-runtime/lib/pmt/pmt.cc4
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_int.h2
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_io.cc6
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_pool.cc2
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_serialize.cc8
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_unv.cc2
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_unv_int.h2
-rw-r--r--gnuradio-runtime/lib/pmt/qa_pmt_prims.cc4
-rw-r--r--gnuradio-runtime/lib/pmt/qa_pmt_unv.cc6
-rw-r--r--gnuradio-runtime/lib/prefs.cc6
-rw-r--r--gnuradio-runtime/lib/qa_buffer.cc4
-rw-r--r--gnuradio-runtime/lib/qa_circular_file.cc2
-rw-r--r--gnuradio-runtime/lib/realtime_impl.cc6
-rw-r--r--gnuradio-runtime/lib/scheduler.h4
-rw-r--r--gnuradio-runtime/lib/scheduler_tpb.h2
-rw-r--r--gnuradio-runtime/lib/sptr_magic.cc2
-rw-r--r--gnuradio-runtime/lib/sys_paths.cc2
-rw-r--r--gnuradio-runtime/lib/tagged_stream_block.cc2
-rw-r--r--gnuradio-runtime/lib/test.cc4
-rw-r--r--gnuradio-runtime/lib/test.h2
-rw-r--r--gnuradio-runtime/lib/thread/thread.cc4
-rw-r--r--gnuradio-runtime/lib/top_block.cc4
-rw-r--r--gnuradio-runtime/lib/top_block_impl.cc10
-rw-r--r--gnuradio-runtime/lib/top_block_impl.h2
-rw-r--r--gnuradio-runtime/lib/tpb_detail.cc2
-rw-r--r--gnuradio-runtime/lib/tpb_thread_body.cc4
-rw-r--r--gnuradio-runtime/lib/tpb_thread_body.h2
-rw-r--r--gnuradio-runtime/lib/vmcircbuf.cc12
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_createfilemapping.cc8
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_createfilemapping.h2
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc8
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h2
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc10
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.h2
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_prefs.cc5
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc8
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_sysv_shm.h2
91 files changed, 199 insertions, 201 deletions
diff --git a/gnuradio-runtime/apps/gnuradio-config-info.cc b/gnuradio-runtime/apps/gnuradio-config-info.cc
index b4ba29124e..9ed8cac459 100644
--- a/gnuradio-runtime/apps/gnuradio-config-info.cc
+++ b/gnuradio-runtime/apps/gnuradio-config-info.cc
@@ -25,10 +25,10 @@
#endif
#include <gnuradio/constants.h>
-#include <gnuradio/sys_paths.h>
#include <gnuradio/prefs.h>
-#include <boost/program_options.hpp>
+#include <gnuradio/sys_paths.h>
#include <boost/format.hpp>
+#include <boost/program_options.hpp>
#include <iostream>
namespace po = boost::program_options;
diff --git a/gnuradio-runtime/include/gnuradio/basic_block.h b/gnuradio-runtime/include/gnuradio/basic_block.h
index 450086c4b9..63f2994df8 100644
--- a/gnuradio-runtime/include/gnuradio/basic_block.h
+++ b/gnuradio-runtime/include/gnuradio/basic_block.h
@@ -24,19 +24,19 @@
#define INCLUDED_GR_BASIC_BLOCK_H
#include <gnuradio/api.h>
-#include <gnuradio/sptr_magic.h>
+#include <gnuradio/io_signature.h>
#include <gnuradio/msg_accepter.h>
#include <gnuradio/runtime_types.h>
-#include <gnuradio/io_signature.h>
+#include <gnuradio/sptr_magic.h>
#include <gnuradio/thread/thread.h>
#include <boost/enable_shared_from_this.hpp>
-#include <boost/function.hpp>
#include <boost/foreach.hpp>
+#include <boost/function.hpp>
#include <boost/thread/condition_variable.hpp>
-#include <iostream>
-#include <string>
#include <deque>
+#include <iostream>
#include <map>
+#include <string>
#ifdef GR_CTRLPORT
#include <gnuradio/rpcregisterhelpers.h>
diff --git a/gnuradio-runtime/include/gnuradio/block.h b/gnuradio-runtime/include/gnuradio/block.h
index 51c9e0ac8b..58b86e3ea3 100644
--- a/gnuradio-runtime/include/gnuradio/block.h
+++ b/gnuradio-runtime/include/gnuradio/block.h
@@ -23,11 +23,11 @@
#ifndef INCLUDED_GR_RUNTIME_BLOCK_H
#define INCLUDED_GR_RUNTIME_BLOCK_H
-#include <gnuradio/config.h>
#include <gnuradio/api.h>
#include <gnuradio/basic_block.h>
-#include <gnuradio/tags.h>
+#include <gnuradio/config.h>
#include <gnuradio/logger.h>
+#include <gnuradio/tags.h>
#ifdef GR_MPLIB_MPIR
#include <mpirxx.h>
#else
@@ -169,8 +169,8 @@ public:
* \param ninput_items number of input items available on each input stream
* \param input_items vector of pointers to the input items, one entry per input
* stream
- * \param output_items vector of pointers to the output items, one entry per output
- * stream
+ * \param output_items vector of pointers to the output items, one entry per
+ * output stream
*
* \returns number of items actually written to each output stream
* or WORK_CALLED_PRODUCE or WORK_DONE. It is OK to return a
diff --git a/gnuradio-runtime/include/gnuradio/block_detail.h b/gnuradio-runtime/include/gnuradio/block_detail.h
index 8f27fa2de9..43ed1f2206 100644
--- a/gnuradio-runtime/include/gnuradio/block_detail.h
+++ b/gnuradio-runtime/include/gnuradio/block_detail.h
@@ -24,10 +24,10 @@
#define INCLUDED_GR_RUNTIME_BLOCK_DETAIL_H
#include <gnuradio/api.h>
+#include <gnuradio/high_res_timer.h>
#include <gnuradio/runtime_types.h>
-#include <gnuradio/tpb_detail.h>
#include <gnuradio/tags.h>
-#include <gnuradio/high_res_timer.h>
+#include <gnuradio/tpb_detail.h>
#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/buffer.h b/gnuradio-runtime/include/gnuradio/buffer.h
index d51fb92629..a2ba4d6c96 100644
--- a/gnuradio-runtime/include/gnuradio/buffer.h
+++ b/gnuradio-runtime/include/gnuradio/buffer.h
@@ -26,8 +26,8 @@
#include <gnuradio/api.h>
#include <gnuradio/runtime_types.h>
#include <gnuradio/tags.h>
-#include <boost/weak_ptr.hpp>
#include <gnuradio/thread/thread.h>
+#include <boost/weak_ptr.hpp>
#include <map>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/logger.h b/gnuradio-runtime/include/gnuradio/logger.h
index 5c62ac2d78..157fff512e 100644
--- a/gnuradio-runtime/include/gnuradio/logger.h
+++ b/gnuradio-runtime/include/gnuradio/logger.h
@@ -37,18 +37,18 @@ typedef int mode_t;
#include <gnuradio/api.h>
#include <assert.h>
-#include <iostream>
-#include <time.h>
-#include <boost/filesystem.hpp>
-#include <boost/thread.hpp>
-#include <boost/format.hpp>
-#include <pmt/pmt.h>
#include <log4cpp/Category.hh>
-#include <log4cpp/PropertyConfigurator.hh>
#include <log4cpp/FileAppender.hh>
-#include <log4cpp/RollingFileAppender.hh>
#include <log4cpp/OstreamAppender.hh>
#include <log4cpp/PatternLayout.hh>
+#include <log4cpp/PropertyConfigurator.hh>
+#include <log4cpp/RollingFileAppender.hh>
+#include <pmt/pmt.h>
+#include <time.h>
+#include <boost/filesystem.hpp>
+#include <boost/format.hpp>
+#include <boost/thread.hpp>
+#include <iostream>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/math.h b/gnuradio-runtime/include/gnuradio/math.h
index 5f0f54cb2d..6c54c2fd76 100644
--- a/gnuradio-runtime/include/gnuradio/math.h
+++ b/gnuradio-runtime/include/gnuradio/math.h
@@ -27,9 +27,9 @@
#ifndef _GR_MATH_H_
#define _GR_MATH_H_
-#include <cmath>
#include <gnuradio/api.h>
#include <gnuradio/gr_complex.h>
+#include <cmath>
/*
* \brief Define commonly used mathematical constants
diff --git a/gnuradio-runtime/include/gnuradio/messages/msg_passing.h b/gnuradio-runtime/include/gnuradio/messages/msg_passing.h
index c8df3db7bd..604174b8b6 100644
--- a/gnuradio-runtime/include/gnuradio/messages/msg_passing.h
+++ b/gnuradio-runtime/include/gnuradio/messages/msg_passing.h
@@ -27,8 +27,8 @@
*/
#include <gnuradio/api.h>
-#include <pmt/pmt.h>
#include <gnuradio/messages/msg_accepter.h>
+#include <pmt/pmt.h>
namespace gr {
namespace messages {
diff --git a/gnuradio-runtime/include/gnuradio/nco.h b/gnuradio-runtime/include/gnuradio/nco.h
index 658bfd7524..7a123065b7 100644
--- a/gnuradio-runtime/include/gnuradio/nco.h
+++ b/gnuradio-runtime/include/gnuradio/nco.h
@@ -23,12 +23,12 @@
#ifndef _GR_NCO_H_
#define _GR_NCO_H_
-#include <gnuradio/sincos.h>
#include <gnuradio/gr_complex.h>
#include <gnuradio/math.h>
+#include <gnuradio/sincos.h>
-#include <vector>
#include <cmath>
+#include <vector>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/prefs.h b/gnuradio-runtime/include/gnuradio/prefs.h
index a8f66af785..038d89e2f7 100644
--- a/gnuradio-runtime/include/gnuradio/prefs.h
+++ b/gnuradio-runtime/include/gnuradio/prefs.h
@@ -24,9 +24,9 @@
#define INCLUDED_GR_PREFS_H
#include <gnuradio/api.h>
-#include <string>
-#include <map>
#include <gnuradio/thread/thread.h>
+#include <map>
+#include <string>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/py_feval.h b/gnuradio-runtime/include/gnuradio/py_feval.h
index ab7a0dd856..cf3aa96d2b 100644
--- a/gnuradio-runtime/include/gnuradio/py_feval.h
+++ b/gnuradio-runtime/include/gnuradio/py_feval.h
@@ -23,9 +23,9 @@
#ifndef INCLUDED_GR_PY_FEVAL_H
#define INCLUDED_GR_PY_FEVAL_H
+#include <gnuradio/feval.h>
#include <Python.h>
#include <pmt/pmt.h>
-#include <gnuradio/feval.h>
class ensure_py_gil_state
{
diff --git a/gnuradio-runtime/include/gnuradio/pycallback_object.h b/gnuradio-runtime/include/gnuradio/pycallback_object.h
index 87f5e41691..4cc2488e64 100644
--- a/gnuradio-runtime/include/gnuradio/pycallback_object.h
+++ b/gnuradio-runtime/include/gnuradio/pycallback_object.h
@@ -20,10 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
-#include <iostream>
#include <gnuradio/rpcregisterhelpers.h>
#include <pythread.h>
#include <boost/format.hpp>
+#include <iostream>
enum pyport_t { PYPORT_STRING, PYPORT_FLOAT };
diff --git a/gnuradio-runtime/include/gnuradio/rpcmanager.h b/gnuradio-runtime/include/gnuradio/rpcmanager.h
index 89b6b79ba2..dd160ac9d2 100644
--- a/gnuradio-runtime/include/gnuradio/rpcmanager.h
+++ b/gnuradio-runtime/include/gnuradio/rpcmanager.h
@@ -26,8 +26,8 @@
#include <gnuradio/api.h>
#include <gnuradio/rpcmanager_base.h>
#include <gnuradio/rpcserver_booter_aggregator.h>
-#include <memory>
#include <iostream>
+#include <memory>
class GR_RUNTIME_API rpcmanager : public virtual rpcmanager_base
{
diff --git a/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h b/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h
index 2cfb6ddab4..c1c2118a8c 100644
--- a/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h
+++ b/gnuradio-runtime/include/gnuradio/rpcpmtconverters_thrift.h
@@ -22,10 +22,10 @@
#ifndef RPCPMTCONVERTERS_THRIFT_H
#define RPCPMTCONVERTERS_THRIFT_H
+#include "thrift/gnuradio_types.h"
#include <pmt/pmt.h>
#include <boost/noncopyable.hpp>
#include <boost/ptr_container/ptr_map.hpp>
-#include "thrift/gnuradio_types.h"
namespace rpcpmtconverter {
diff --git a/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h b/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h
index 3e81a76f98..83c57967cc 100644
--- a/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h
+++ b/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h
@@ -23,13 +23,13 @@
#ifndef RPCREGISTERHELPERS_H
#define RPCREGISTERHELPERS_H
-#include <stdio.h>
-#include <sstream>
-#include <iostream>
-#include <gnuradio/rpcserver_booter_base.h>
#include <gnuradio/rpcmanager.h>
-#include <gnuradio/rpcserver_selector.h>
#include <gnuradio/rpcserver_base.h>
+#include <gnuradio/rpcserver_booter_base.h>
+#include <gnuradio/rpcserver_selector.h>
+#include <stdio.h>
+#include <iostream>
+#include <sstream>
// Fixes circular dependency issue before including block_registry.h
class rpcbasic_base;
diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h b/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h
index 75484ba1a2..85be9662e9 100644
--- a/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h
+++ b/gnuradio-runtime/include/gnuradio/rpcserver_aggregator.h
@@ -23,10 +23,10 @@
#ifndef RPCSERVER_AGGREGATOR_H
#define RPCSERVER_AGGREGATOR_H
-#include <vector>
-#include <string>
-#include <gnuradio/rpcserver_base.h>
#include <gnuradio/rpcmanager_base.h>
+#include <gnuradio/rpcserver_base.h>
+#include <string>
+#include <vector>
class rpcserver_aggregator : public virtual rpcserver_base
{
diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_booter_aggregator.h b/gnuradio-runtime/include/gnuradio/rpcserver_booter_aggregator.h
index 579a346d57..0fbbb604ea 100644
--- a/gnuradio-runtime/include/gnuradio/rpcserver_booter_aggregator.h
+++ b/gnuradio-runtime/include/gnuradio/rpcserver_booter_aggregator.h
@@ -24,8 +24,8 @@
#define RPCSERVER_BOOTER_AGGREGATOR
#include <gnuradio/api.h>
-#include <gnuradio/rpcserver_booter_base.h>
#include <gnuradio/rpcserver_aggregator.h>
+#include <gnuradio/rpcserver_booter_base.h>
#include <boost/shared_ptr.hpp>
#include <string>
diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h b/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h
index ca475e57fe..98f72c0e6c 100644
--- a/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h
+++ b/gnuradio-runtime/include/gnuradio/rpcserver_booter_thrift.h
@@ -23,9 +23,9 @@
#ifndef RPCSERVER_BOOTER_THRIFT_H
#define RPCSERVER_BOOTER_THRIFT_H
+#include "thrift/ControlPort.h"
#include <gnuradio/rpcserver_booter_base.h>
#include <gnuradio/thrift_server_template.h>
-#include "thrift/ControlPort.h"
class rpcserver_base;
class rpcserver_thrift;
diff --git a/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h b/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h
index cc762acd39..d79a533a5a 100644
--- a/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h
+++ b/gnuradio-runtime/include/gnuradio/rpcserver_thrift.h
@@ -23,16 +23,16 @@
#ifndef RPCSERVER_THRIFT_H
#define RPCSERVER_THRIFT_H
-#include <gnuradio/rpcserver_base.h>
-#include <gnuradio/rpcpmtconverters_thrift.h>
-#include <string>
-#include <iostream>
-#include <sstream>
-#include <map>
#include "thrift/ControlPort.h"
#include "thrift/gnuradio_types.h"
+#include <gnuradio/rpcpmtconverters_thrift.h>
+#include <gnuradio/rpcserver_base.h>
#include <boost/format.hpp>
#include <boost/thread/mutex.hpp>
+#include <iostream>
+#include <map>
+#include <sstream>
+#include <string>
#define S(x) #x
#define S_(x) S(x)
diff --git a/gnuradio-runtime/include/gnuradio/tag_checker.h b/gnuradio-runtime/include/gnuradio/tag_checker.h
index 46e736da6a..d7cf0bf7c7 100644
--- a/gnuradio-runtime/include/gnuradio/tag_checker.h
+++ b/gnuradio-runtime/include/gnuradio/tag_checker.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_GR_RUNTIME_TAG_CHECKER_H
#define INCLUDED_GR_RUNTIME_TAG_CHECKER_H
-#include <vector>
#include <gnuradio/tags.h>
+#include <vector>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/thread/thread.h b/gnuradio-runtime/include/gnuradio/thread/thread.h
index 49306e4b26..eedecfda22 100644
--- a/gnuradio-runtime/include/gnuradio/thread/thread.h
+++ b/gnuradio-runtime/include/gnuradio/thread/thread.h
@@ -23,12 +23,12 @@
#define INCLUDED_THREAD_H
#include <gnuradio/api.h>
-#include <boost/thread/thread.hpp>
-#include <boost/thread/mutex.hpp>
-#include <boost/thread/locks.hpp>
-#include <boost/thread/condition_variable.hpp>
-#include <boost/thread/barrier.hpp>
#include <boost/shared_ptr.hpp>
+#include <boost/thread/barrier.hpp>
+#include <boost/thread/condition_variable.hpp>
+#include <boost/thread/locks.hpp>
+#include <boost/thread/mutex.hpp>
+#include <boost/thread/thread.hpp>
#include <vector>
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
diff --git a/gnuradio-runtime/include/gnuradio/thread/thread_group.h b/gnuradio-runtime/include/gnuradio/thread/thread_group.h
index aa2336e944..c82d0211cd 100644
--- a/gnuradio-runtime/include/gnuradio/thread/thread_group.h
+++ b/gnuradio-runtime/include/gnuradio/thread/thread_group.h
@@ -17,9 +17,9 @@
#include <gnuradio/api.h>
#include <gnuradio/thread/thread.h>
-#include <boost/utility.hpp>
-#include <boost/thread/shared_mutex.hpp>
#include <boost/function.hpp>
+#include <boost/thread/shared_mutex.hpp>
+#include <boost/utility.hpp>
namespace gr {
namespace thread {
diff --git a/gnuradio-runtime/include/gnuradio/thrift_server_template.h b/gnuradio-runtime/include/gnuradio/thrift_server_template.h
index a8ca18cb1a..1c87e4820f 100644
--- a/gnuradio-runtime/include/gnuradio/thrift_server_template.h
+++ b/gnuradio-runtime/include/gnuradio/thrift_server_template.h
@@ -23,18 +23,18 @@
#ifndef THRIFT_SERVER_TEMPLATE_H
#define THRIFT_SERVER_TEMPLATE_H
-#include <gnuradio/prefs.h>
#include <gnuradio/logger.h>
+#include <gnuradio/prefs.h>
#include <gnuradio/thrift_application_base.h>
#include <iostream>
+#include "thrift/ControlPort.h"
+#include <thrift/concurrency/PlatformThreadFactory.h>
+#include <thrift/concurrency/ThreadManager.h>
#include <thrift/server/TSimpleServer.h>
#include <thrift/server/TThreadPoolServer.h>
-#include <thrift/concurrency/ThreadManager.h>
-#include <thrift/concurrency/PlatformThreadFactory.h>
-#include <thrift/transport/TServerSocket.h>
#include <thrift/transport/TBufferTransports.h>
-#include "thrift/ControlPort.h"
+#include <thrift/transport/TServerSocket.h>
using namespace apache;
diff --git a/gnuradio-runtime/include/gnuradio/tpb_detail.h b/gnuradio-runtime/include/gnuradio/tpb_detail.h
index db857393fd..fb8b05c280 100644
--- a/gnuradio-runtime/include/gnuradio/tpb_detail.h
+++ b/gnuradio-runtime/include/gnuradio/tpb_detail.h
@@ -24,8 +24,8 @@
#include <gnuradio/api.h>
#include <gnuradio/thread/thread.h>
-#include <deque>
#include <pmt/pmt.h>
+#include <deque>
namespace gr {
diff --git a/gnuradio-runtime/include/gnuradio/types.h b/gnuradio-runtime/include/gnuradio/types.h
index f08bf3158d..2e325ee3e1 100644
--- a/gnuradio-runtime/include/gnuradio/types.h
+++ b/gnuradio-runtime/include/gnuradio/types.h
@@ -24,9 +24,9 @@
#define INCLUDED_GR_TYPES_H
#include <gnuradio/api.h>
+#include <stddef.h> // size_t
#include <boost/shared_ptr.hpp>
#include <vector>
-#include <stddef.h> // size_t
#include <gnuradio/gr_complex.h>
diff --git a/gnuradio-runtime/include/gnuradio/unittests.h b/gnuradio-runtime/include/gnuradio/unittests.h
index 42d7b81d9d..15482dfd32 100644
--- a/gnuradio-runtime/include/gnuradio/unittests.h
+++ b/gnuradio-runtime/include/gnuradio/unittests.h
@@ -24,8 +24,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/types.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
diff --git a/gnuradio-runtime/include/pmt/pmt.h b/gnuradio-runtime/include/pmt/pmt.h
index ea188ca613..c05c2851ee 100644
--- a/gnuradio-runtime/include/pmt/pmt.h
+++ b/gnuradio-runtime/include/pmt/pmt.h
@@ -24,14 +24,14 @@
#define INCLUDED_PMT_H
#include <pmt/api.h>
+#include <stdint.h>
+#include <boost/any.hpp>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
-#include <boost/any.hpp>
#include <complex>
-#include <string>
-#include <stdint.h>
#include <iosfwd>
#include <stdexcept>
+#include <string>
#include <vector>
namespace gr {
diff --git a/gnuradio-runtime/include/pmt/pmt_pool.h b/gnuradio-runtime/include/pmt/pmt_pool.h
index b31b051682..e935b3823e 100644
--- a/gnuradio-runtime/include/pmt/pmt_pool.h
+++ b/gnuradio-runtime/include/pmt/pmt_pool.h
@@ -22,9 +22,9 @@
#define INCLUDED_PMT_POOL_H
#include <pmt/api.h>
+#include <boost/thread.hpp>
#include <cstddef>
#include <vector>
-#include <boost/thread.hpp>
namespace pmt {
diff --git a/gnuradio-runtime/lib/basic_block.cc b/gnuradio-runtime/lib/basic_block.cc
index 60aaa86c46..bc16617657 100644
--- a/gnuradio-runtime/lib/basic_block.cc
+++ b/gnuradio-runtime/lib/basic_block.cc
@@ -27,9 +27,9 @@
#include <gnuradio/basic_block.h>
#include <gnuradio/block_registry.h>
#include <gnuradio/logger.h>
-#include <stdexcept>
-#include <sstream>
#include <iostream>
+#include <sstream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc
index 65399bfc3e..a09409708e 100644
--- a/gnuradio-runtime/lib/block.cc
+++ b/gnuradio-runtime/lib/block.cc
@@ -25,12 +25,12 @@
#endif
#include <gnuradio/block.h>
-#include <gnuradio/block_registry.h>
#include <gnuradio/block_detail.h>
+#include <gnuradio/block_registry.h>
#include <gnuradio/buffer.h>
#include <gnuradio/prefs.h>
-#include <stdexcept>
#include <iostream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/block_executor.cc b/gnuradio-runtime/lib/block_executor.cc
index 9f0d7ded5e..eb08c84de4 100644
--- a/gnuradio-runtime/lib/block_executor.cc
+++ b/gnuradio-runtime/lib/block_executor.cc
@@ -24,17 +24,17 @@
#include "config.h"
#endif
-#include <block_executor.h>
#include <gnuradio/block.h>
#include <gnuradio/block_detail.h>
#include <gnuradio/buffer.h>
#include <gnuradio/prefs.h>
-#include <boost/thread.hpp>
+#include <assert.h>
+#include <block_executor.h>
+#include <stdio.h>
#include <boost/format.hpp>
+#include <boost/thread.hpp>
#include <iostream>
#include <limits>
-#include <assert.h>
-#include <stdio.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/block_gateway_impl.cc b/gnuradio-runtime/lib/block_gateway_impl.cc
index 67f9990c4a..7ccbeaddfc 100644
--- a/gnuradio-runtime/lib/block_gateway_impl.cc
+++ b/gnuradio-runtime/lib/block_gateway_impl.cc
@@ -21,8 +21,8 @@
#include "block_gateway_impl.h"
#include <gnuradio/io_signature.h>
-#include <iostream>
#include <boost/bind.hpp>
+#include <iostream>
namespace gr {
diff --git a/gnuradio-runtime/lib/buffer.cc b/gnuradio-runtime/lib/buffer.cc
index e66e9ed6c6..cc9d991c95 100644
--- a/gnuradio-runtime/lib/buffer.cc
+++ b/gnuradio-runtime/lib/buffer.cc
@@ -23,14 +23,13 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <algorithm>
+#include "vmcircbuf.h"
#include <gnuradio/buffer.h>
#include <gnuradio/math.h>
-#include "vmcircbuf.h"
-#include <stdexcept>
-#include <iostream>
#include <assert.h>
#include <algorithm>
+#include <iostream>
+#include <stdexcept>
// the following header is deprecated as of Boost 1.66.0, and the
// other API was introduced in Boost 1.58.0. Since we still support
diff --git a/gnuradio-runtime/lib/circular_file.cc b/gnuradio-runtime/lib/circular_file.cc
index 3569baf280..dcfccf9af3 100644
--- a/gnuradio-runtime/lib/circular_file.cc
+++ b/gnuradio-runtime/lib/circular_file.cc
@@ -31,17 +31,17 @@
#include <sys/mman.h>
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
+#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
-#include <algorithm>
#include <stdio.h>
#include <string.h>
+#include <algorithm>
#ifdef HAVE_IO_H
#include <io.h>
diff --git a/gnuradio-runtime/lib/controlport/rpcserver_selector.cc b/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
index 7d2453fd36..6c6c808089 100644
--- a/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
+++ b/gnuradio-runtime/lib/controlport/rpcserver_selector.cc
@@ -20,8 +20,8 @@
* Boston, MA 02110-1301, USA.
*/
-#include <gnuradio/rpcserver_booter_aggregator.h>
#include <gnuradio/rpcmanager.h>
+#include <gnuradio/rpcserver_booter_aggregator.h>
#include <gnuradio/rpcserver_selector.h>
bool rpcmanager::make_aggregator(false);
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc
index 05bb936f5a..73846733b7 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc
@@ -19,10 +19,10 @@
* Boston, MA 02110-1301, USA.
*/
-#include <boost/assign/ptr_map_inserter.hpp>
-#include <gnuradio/rpcpmtconverters_thrift.h>
-#include <gnuradio/gr_complex.h>
#include "thrift/gnuradio_types.h"
+#include <gnuradio/gr_complex.h>
+#include <gnuradio/rpcpmtconverters_thrift.h>
+#include <boost/assign/ptr_map_inserter.hpp>
#include <iostream>
GNURadio::Knob rpcpmtconverter::from_pmt(const pmt::pmt_t& knob)
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
index a5017cd17a..fd63330e1b 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
@@ -20,8 +20,8 @@
* Boston, MA 02110-1301, USA.
*/
-#include <gnuradio/rpcserver_thrift.h>
#include <gnuradio/rpcserver_booter_thrift.h>
+#include <gnuradio/rpcserver_thrift.h>
#include <boost/asio/ip/host_name.hpp>
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc
index 180bb85f3d..6b715f1082 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc
@@ -20,16 +20,16 @@
* Boston, MA 02110-1301, USA.
*/
+#include "thrift/ControlPort.h"
#include <gnuradio/rpcserver_thrift.h>
-#include <iostream>
-#include <sstream>
-#include <stdexcept>
#include <pmt/pmt.h>
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/transport/TSocket.h>
#include <thrift/transport/TTransportUtils.h>
#include <boost/xpressive/xpressive.hpp>
-#include "thrift/ControlPort.h"
+#include <iostream>
+#include <sstream>
+#include <stdexcept>
#define DEBUG 0
diff --git a/gnuradio-runtime/lib/flat_flowgraph.cc b/gnuradio-runtime/lib/flat_flowgraph.cc
index b798e4812e..a41d150e23 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.cc
+++ b/gnuradio-runtime/lib/flat_flowgraph.cc
@@ -30,9 +30,9 @@
#include <gnuradio/logger.h>
#include <gnuradio/prefs.h>
#include <volk/volk.h>
+#include <boost/format.hpp>
#include <iostream>
#include <map>
-#include <boost/format.hpp>
namespace gr {
diff --git a/gnuradio-runtime/lib/flat_flowgraph.h b/gnuradio-runtime/lib/flat_flowgraph.h
index 3630a2a5c8..75082349e2 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.h
+++ b/gnuradio-runtime/lib/flat_flowgraph.h
@@ -24,8 +24,8 @@
#define INCLUDED_GR_RUNTIME_FLAT_FLOWGRAPH_H
#include <gnuradio/api.h>
-#include <gnuradio/flowgraph.h>
#include <gnuradio/block.h>
+#include <gnuradio/flowgraph.h>
#include <gnuradio/logger.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/flowgraph.cc b/gnuradio-runtime/lib/flowgraph.cc
index acc1429ae2..11c816f79f 100644
--- a/gnuradio-runtime/lib/flowgraph.cc
+++ b/gnuradio-runtime/lib/flowgraph.cc
@@ -25,9 +25,9 @@
#endif
#include <gnuradio/flowgraph.h>
-#include <stdexcept>
-#include <sstream>
#include <iterator>
+#include <sstream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/hier_block2.cc b/gnuradio-runtime/lib/hier_block2.cc
index 4c6414c465..755977c841 100644
--- a/gnuradio-runtime/lib/hier_block2.cc
+++ b/gnuradio-runtime/lib/hier_block2.cc
@@ -24,10 +24,10 @@
#include "config.h"
#endif
+#include "hier_block2_detail.h"
+#include <gnuradio/flowgraph.h>
#include <gnuradio/hier_block2.h>
#include <gnuradio/io_signature.h>
-#include <gnuradio/flowgraph.h>
-#include "hier_block2_detail.h"
#include <iostream>
namespace gr {
diff --git a/gnuradio-runtime/lib/hier_block2_detail.cc b/gnuradio-runtime/lib/hier_block2_detail.cc
index 38925330cb..59f290bf99 100644
--- a/gnuradio-runtime/lib/hier_block2_detail.cc
+++ b/gnuradio-runtime/lib/hier_block2_detail.cc
@@ -27,9 +27,9 @@
#include "hier_block2_detail.h"
#include <gnuradio/io_signature.h>
#include <gnuradio/prefs.h>
-#include <stdexcept>
-#include <sstream>
#include <boost/format.hpp>
+#include <sstream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/io_signature.cc b/gnuradio-runtime/lib/io_signature.cc
index 7e9aefc2a7..d5bb427ab8 100644
--- a/gnuradio-runtime/lib/io_signature.cc
+++ b/gnuradio-runtime/lib/io_signature.cc
@@ -25,8 +25,8 @@
#endif
#include <gnuradio/io_signature.h>
-#include <stdexcept>
#include <iostream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/local_sighandler.cc b/gnuradio-runtime/lib/local_sighandler.cc
index 4f3083b3ed..97491b24de 100644
--- a/gnuradio-runtime/lib/local_sighandler.cc
+++ b/gnuradio-runtime/lib/local_sighandler.cc
@@ -25,9 +25,9 @@
#endif
#include "local_sighandler.h"
-#include <stdexcept>
#include <stdio.h>
#include <string.h>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc
index f3fa86b30a..6aab82b603 100644
--- a/gnuradio-runtime/lib/logger.cc
+++ b/gnuradio-runtime/lib/logger.cc
@@ -32,8 +32,8 @@
#include <gnuradio/logger.h>
#include <gnuradio/prefs.h>
-#include <stdexcept>
#include <algorithm>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/math/qa_fxpt.cc b/gnuradio-runtime/lib/math/qa_fxpt.cc
index 16e04b819a..d54c873846 100644
--- a/gnuradio-runtime/lib/math/qa_fxpt.cc
+++ b/gnuradio-runtime/lib/math/qa_fxpt.cc
@@ -26,11 +26,11 @@
#include <gnuradio/fxpt.h>
#include <gnuradio/math.h>
-#include <boost/test/unit_test.hpp>
-#include <iostream>
+#include <math.h>
#include <stdio.h>
#include <unistd.h>
-#include <math.h>
+#include <boost/test/unit_test.hpp>
+#include <iostream>
static const float SIN_COS_TOLERANCE = 1e-5;
diff --git a/gnuradio-runtime/lib/math/qa_fxpt_nco.cc b/gnuradio-runtime/lib/math/qa_fxpt_nco.cc
index 2c4a8c327a..4dc22fcf9a 100644
--- a/gnuradio-runtime/lib/math/qa_fxpt_nco.cc
+++ b/gnuradio-runtime/lib/math/qa_fxpt_nco.cc
@@ -26,11 +26,11 @@
#include <gnuradio/fxpt_nco.h>
#include <gnuradio/nco.h>
-#include <boost/test/unit_test.hpp>
-#include <iostream>
+#include <math.h>
#include <stdio.h>
#include <unistd.h>
-#include <math.h>
+#include <boost/test/unit_test.hpp>
+#include <iostream>
static const float SIN_COS_TOLERANCE = 1e-5;
diff --git a/gnuradio-runtime/lib/math/qa_fxpt_vco.cc b/gnuradio-runtime/lib/math/qa_fxpt_vco.cc
index a24e38d63b..202f2da0bf 100644
--- a/gnuradio-runtime/lib/math/qa_fxpt_vco.cc
+++ b/gnuradio-runtime/lib/math/qa_fxpt_vco.cc
@@ -26,11 +26,11 @@
#include "vco.h"
#include <gnuradio/fxpt_vco.h>
-#include <boost/test/unit_test.hpp>
-#include <iostream>
+#include <math.h>
#include <stdio.h>
#include <unistd.h>
-#include <math.h>
+#include <boost/test/unit_test.hpp>
+#include <iostream>
static const float SIN_COS_TOLERANCE = 1e-5;
diff --git a/gnuradio-runtime/lib/math/qa_math.cc b/gnuradio-runtime/lib/math/qa_math.cc
index 46833286e9..da129987c2 100644
--- a/gnuradio-runtime/lib/math/qa_math.cc
+++ b/gnuradio-runtime/lib/math/qa_math.cc
@@ -20,8 +20,8 @@
*/
#include <gnuradio/math.h>
-#include <boost/test/unit_test.hpp>
#include <stdio.h>
+#include <boost/test/unit_test.hpp>
#include <cmath>
BOOST_AUTO_TEST_CASE(test_binary_slicer1)
diff --git a/gnuradio-runtime/lib/math/random.cc b/gnuradio-runtime/lib/math/random.cc
index 9e30c94399..223e9141fe 100644
--- a/gnuradio-runtime/lib/math/random.cc
+++ b/gnuradio-runtime/lib/math/random.cc
@@ -39,8 +39,8 @@
#include <config.h>
#endif
-#include <gnuradio/random.h>
#include <gnuradio/math.h>
+#include <gnuradio/random.h>
#include <cmath>
diff --git a/gnuradio-runtime/lib/math/vco.h b/gnuradio-runtime/lib/math/vco.h
index 1687de6af7..05ca3b9c41 100644
--- a/gnuradio-runtime/lib/math/vco.h
+++ b/gnuradio-runtime/lib/math/vco.h
@@ -23,12 +23,12 @@
#ifndef _GR_VCO_H_
#define _GR_VCO_H_
-#include <gnuradio/sincos.h>
#include <gnuradio/gr_complex.h>
#include <gnuradio/math.h>
+#include <gnuradio/sincos.h>
-#include <vector>
#include <cmath>
+#include <vector>
namespace gr {
diff --git a/gnuradio-runtime/lib/msg_accepter.cc b/gnuradio-runtime/lib/msg_accepter.cc
index 77870ad498..2ba41b300b 100644
--- a/gnuradio-runtime/lib/msg_accepter.cc
+++ b/gnuradio-runtime/lib/msg_accepter.cc
@@ -23,10 +23,10 @@
#include <config.h>
#endif
-#include <gnuradio/msg_accepter.h>
#include <gnuradio/block.h>
#include <gnuradio/block_detail.h>
#include <gnuradio/hier_block2.h>
+#include <gnuradio/msg_accepter.h>
#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/pagesize.cc b/gnuradio-runtime/lib/pagesize.cc
index 3a58c3d8d7..d03069ccf8 100644
--- a/gnuradio-runtime/lib/pagesize.cc
+++ b/gnuradio-runtime/lib/pagesize.cc
@@ -25,8 +25,8 @@
#endif
#include "pagesize.h"
-#include <unistd.h>
#include <stdio.h>
+#include <unistd.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/pmt/pmt.cc b/gnuradio-runtime/lib/pmt/pmt.cc
index 4adb763e5f..67e1f557e8 100644
--- a/gnuradio-runtime/lib/pmt/pmt.cc
+++ b/gnuradio-runtime/lib/pmt/pmt.cc
@@ -24,13 +24,13 @@
#include <config.h>
#endif
-#include <vector>
-#include <pmt/pmt.h>
#include "pmt_int.h"
#include <gnuradio/messages/msg_accepter.h>
+#include <pmt/pmt.h>
#include <pmt/pmt_pool.h>
#include <stdio.h>
#include <string.h>
+#include <vector>
namespace pmt {
diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h
index ea3dd5e2c9..4be2391c30 100644
--- a/gnuradio-runtime/lib/pmt/pmt_int.h
+++ b/gnuradio-runtime/lib/pmt/pmt_int.h
@@ -23,9 +23,9 @@
#define INCLUDED_PMT_INT_H
#include <pmt/pmt.h>
+#include <boost/atomic.hpp>
#include <boost/utility.hpp>
#include <boost/version.hpp>
-#include <boost/atomic.hpp>
/*
* EVERYTHING IN THIS FILE IS PRIVATE TO THE IMPLEMENTATION!
diff --git a/gnuradio-runtime/lib/pmt/pmt_io.cc b/gnuradio-runtime/lib/pmt/pmt_io.cc
index 2c39a0872f..09c0a54e2a 100644
--- a/gnuradio-runtime/lib/pmt/pmt_io.cc
+++ b/gnuradio-runtime/lib/pmt/pmt_io.cc
@@ -23,11 +23,11 @@
#include <config.h>
#endif
-#include <vector>
-#include <pmt/pmt.h>
#include "pmt_int.h"
-#include <sstream>
+#include <pmt/pmt.h>
#include <iostream>
+#include <sstream>
+#include <vector>
namespace pmt {
diff --git a/gnuradio-runtime/lib/pmt/pmt_pool.cc b/gnuradio-runtime/lib/pmt/pmt_pool.cc
index 066d31296f..3334e7c529 100644
--- a/gnuradio-runtime/lib/pmt/pmt_pool.cc
+++ b/gnuradio-runtime/lib/pmt/pmt_pool.cc
@@ -24,8 +24,8 @@
#endif
#include <pmt/pmt_pool.h>
-#include <algorithm>
#include <stdint.h>
+#include <algorithm>
namespace pmt {
diff --git a/gnuradio-runtime/lib/pmt/pmt_serialize.cc b/gnuradio-runtime/lib/pmt/pmt_serialize.cc
index 4f77c0378a..150f8fa1e5 100644
--- a/gnuradio-runtime/lib/pmt/pmt_serialize.cc
+++ b/gnuradio-runtime/lib/pmt/pmt_serialize.cc
@@ -23,11 +23,11 @@
#include <config.h>
#endif
-#include <vector>
-#include <limits>
-#include <pmt/pmt.h>
-#include "pmt_int.h"
#include "pmt/pmt_serial_tags.h"
+#include "pmt_int.h"
+#include <pmt/pmt.h>
+#include <limits>
+#include <vector>
namespace pmt {
diff --git a/gnuradio-runtime/lib/pmt/pmt_unv.cc b/gnuradio-runtime/lib/pmt/pmt_unv.cc
index fc295fb6b3..d6c38165e0 100644
--- a/gnuradio-runtime/lib/pmt/pmt_unv.cc
+++ b/gnuradio-runtime/lib/pmt/pmt_unv.cc
@@ -26,8 +26,8 @@
#include <config.h>
#endif
-#include "pmt_unv_int.h"
#include "pmt_int.h"
+#include "pmt_unv_int.h"
#include <pmt/pmt.h>
#include <boost/lexical_cast.hpp>
#include <vector>
diff --git a/gnuradio-runtime/lib/pmt/pmt_unv_int.h b/gnuradio-runtime/lib/pmt/pmt_unv_int.h
index c2e2617f63..d48d834636 100644
--- a/gnuradio-runtime/lib/pmt/pmt_unv_int.h
+++ b/gnuradio-runtime/lib/pmt/pmt_unv_int.h
@@ -25,8 +25,8 @@
#include "pmt_int.h"
-#include <vector>
#include <cstdint>
+#include <vector>
namespace pmt {
////////////////////////////////////////////////////////////////////////////
diff --git a/gnuradio-runtime/lib/pmt/qa_pmt_prims.cc b/gnuradio-runtime/lib/pmt/qa_pmt_prims.cc
index b715d69df4..ccaf807a61 100644
--- a/gnuradio-runtime/lib/pmt/qa_pmt_prims.cc
+++ b/gnuradio-runtime/lib/pmt/qa_pmt_prims.cc
@@ -20,10 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
-#include <pmt/api.h> //reason: suppress warnings
#include <gnuradio/messages/msg_passing.h>
-#include <boost/test/unit_test.hpp>
+#include <pmt/api.h> //reason: suppress warnings
#include <boost/format.hpp>
+#include <boost/test/unit_test.hpp>
#include <cstdio>
#include <cstring>
#include <sstream>
diff --git a/gnuradio-runtime/lib/pmt/qa_pmt_unv.cc b/gnuradio-runtime/lib/pmt/qa_pmt_unv.cc
index 9dd9452e5e..8a6d72f9a3 100644
--- a/gnuradio-runtime/lib/pmt/qa_pmt_unv.cc
+++ b/gnuradio-runtime/lib/pmt/qa_pmt_unv.cc
@@ -20,14 +20,14 @@
* Boston, MA 02110-1301, USA.
*/
+#include <gnuradio/messages/msg_passing.h>
#include <pmt/api.h> //reason: suppress warnings
#include <pmt/pmt.h>
-#include <gnuradio/messages/msg_passing.h>
-#include <boost/test/unit_test.hpp>
#include <boost/format.hpp>
-#include <sstream>
+#include <boost/test/unit_test.hpp>
#include <cstdio>
#include <cstring>
+#include <sstream>
using namespace pmt;
diff --git a/gnuradio-runtime/lib/prefs.cc b/gnuradio-runtime/lib/prefs.cc
index 218926d312..a17e51bbef 100644
--- a/gnuradio-runtime/lib/prefs.cc
+++ b/gnuradio-runtime/lib/prefs.cc
@@ -24,19 +24,19 @@
#include <config.h>
#endif
+#include <gnuradio/constants.h>
#include <gnuradio/prefs.h>
#include <gnuradio/sys_paths.h>
-#include <gnuradio/constants.h>
#include <algorithm>
#include <fstream>
#include <iostream>
+#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
-#include <boost/filesystem/fstream.hpp>
-#include <boost/program_options.hpp>
#include <boost/foreach.hpp>
+#include <boost/program_options.hpp>
namespace fs = boost::filesystem;
namespace po = boost::program_options;
typedef std::ifstream::char_type char_t;
diff --git a/gnuradio-runtime/lib/qa_buffer.cc b/gnuradio-runtime/lib/qa_buffer.cc
index 64b1d0fc1f..1b8e4db306 100644
--- a/gnuradio-runtime/lib/qa_buffer.cc
+++ b/gnuradio-runtime/lib/qa_buffer.cc
@@ -25,10 +25,10 @@
#endif
-#include <gnuradio/random.h>
#include <gnuradio/buffer.h>
-#include <boost/test/unit_test.hpp>
+#include <gnuradio/random.h>
#include <stdlib.h>
+#include <boost/test/unit_test.hpp>
static void leak_check(void f())
diff --git a/gnuradio-runtime/lib/qa_circular_file.cc b/gnuradio-runtime/lib/qa_circular_file.cc
index 164650819d..53c98e9f87 100644
--- a/gnuradio-runtime/lib/qa_circular_file.cc
+++ b/gnuradio-runtime/lib/qa_circular_file.cc
@@ -25,8 +25,8 @@
#endif
#include "circular_file.h"
-#include <boost/test/unit_test.hpp>
#include <unistd.h>
+#include <boost/test/unit_test.hpp>
static const char* test_file = "qa_gr_circular_file.data";
static const int BUFFER_SIZE = 8192;
diff --git a/gnuradio-runtime/lib/realtime_impl.cc b/gnuradio-runtime/lib/realtime_impl.cc
index de624f9ad7..f97d3b757e 100644
--- a/gnuradio-runtime/lib/realtime_impl.cc
+++ b/gnuradio-runtime/lib/realtime_impl.cc
@@ -30,11 +30,11 @@
#include <sched.h>
#endif
-#include <algorithm>
-#include <math.h>
-#include <string.h>
#include <errno.h>
+#include <math.h>
#include <stdio.h>
+#include <string.h>
+#include <algorithm>
#include <iostream>
diff --git a/gnuradio-runtime/lib/scheduler.h b/gnuradio-runtime/lib/scheduler.h
index 36bec12961..8041771f3c 100644
--- a/gnuradio-runtime/lib/scheduler.h
+++ b/gnuradio-runtime/lib/scheduler.h
@@ -22,10 +22,10 @@
#ifndef INCLUDED_GR_SCHEDULER_H
#define INCLUDED_GR_SCHEDULER_H
+#include "flat_flowgraph.h"
#include <gnuradio/api.h>
-#include <boost/utility.hpp>
#include <gnuradio/block.h>
-#include "flat_flowgraph.h"
+#include <boost/utility.hpp>
namespace gr {
diff --git a/gnuradio-runtime/lib/scheduler_tpb.h b/gnuradio-runtime/lib/scheduler_tpb.h
index a353d1aae0..152b11c8f3 100644
--- a/gnuradio-runtime/lib/scheduler_tpb.h
+++ b/gnuradio-runtime/lib/scheduler_tpb.h
@@ -22,9 +22,9 @@
#ifndef INCLUDED_GR_SCHEDULER_TPB_H
#define INCLUDED_GR_SCHEDULER_TPB_H
+#include "scheduler.h"
#include <gnuradio/api.h>
#include <gnuradio/thread/thread_group.h>
-#include "scheduler.h"
namespace gr {
diff --git a/gnuradio-runtime/lib/sptr_magic.cc b/gnuradio-runtime/lib/sptr_magic.cc
index 03693cdc8f..c55bee7427 100644
--- a/gnuradio-runtime/lib/sptr_magic.cc
+++ b/gnuradio-runtime/lib/sptr_magic.cc
@@ -23,8 +23,8 @@
#include <config.h>
#endif
-#include <gnuradio/sptr_magic.h>
#include <gnuradio/hier_block2.h>
+#include <gnuradio/sptr_magic.h>
#include <map>
#include <stdexcept>
diff --git a/gnuradio-runtime/lib/sys_paths.cc b/gnuradio-runtime/lib/sys_paths.cc
index 068a38a51d..6305bb40bc 100644
--- a/gnuradio-runtime/lib/sys_paths.cc
+++ b/gnuradio-runtime/lib/sys_paths.cc
@@ -20,8 +20,8 @@
*/
#include <gnuradio/sys_paths.h>
-#include <cstdlib> //getenv
#include <cstdio> //P_tmpdir (maybe)
+#include <cstdlib> //getenv
#include <boost/filesystem/path.hpp>
diff --git a/gnuradio-runtime/lib/tagged_stream_block.cc b/gnuradio-runtime/lib/tagged_stream_block.cc
index 1617bb3698..da4165b55d 100644
--- a/gnuradio-runtime/lib/tagged_stream_block.cc
+++ b/gnuradio-runtime/lib/tagged_stream_block.cc
@@ -24,8 +24,8 @@
#include "config.h"
#endif
-#include <boost/format.hpp>
#include <gnuradio/tagged_stream_block.h>
+#include <boost/format.hpp>
namespace gr {
diff --git a/gnuradio-runtime/lib/test.cc b/gnuradio-runtime/lib/test.cc
index 04fe8a30d6..0a2176c24d 100644
--- a/gnuradio-runtime/lib/test.cc
+++ b/gnuradio-runtime/lib/test.cc
@@ -26,9 +26,9 @@
#include "test.h"
#include <gnuradio/io_signature.h>
-#include <stdexcept>
-#include <iostream>
#include <string.h>
+#include <iostream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/test.h b/gnuradio-runtime/lib/test.h
index 51e17ac49a..ebaea13cfa 100644
--- a/gnuradio-runtime/lib/test.h
+++ b/gnuradio-runtime/lib/test.h
@@ -23,10 +23,10 @@
#ifndef INCLUDED_GR_TEST_H
#define INCLUDED_GR_TEST_H
+#include "test_types.h"
#include <gnuradio/api.h>
#include <gnuradio/block.h>
#include <string>
-#include "test_types.h"
namespace gr {
diff --git a/gnuradio-runtime/lib/thread/thread.cc b/gnuradio-runtime/lib/thread/thread.cc
index 85240cbee1..15d433d62d 100644
--- a/gnuradio-runtime/lib/thread/thread.cc
+++ b/gnuradio-runtime/lib/thread/thread.cc
@@ -218,10 +218,10 @@ void set_thread_name(gr_thread_t thread, std::string name)
#else
-#include <sstream>
-#include <stdexcept>
#include <pthread.h>
#include <sys/prctl.h>
+#include <sstream>
+#include <stdexcept>
namespace gr {
namespace thread {
diff --git a/gnuradio-runtime/lib/top_block.cc b/gnuradio-runtime/lib/top_block.cc
index fa3902c735..92f4cb7786 100644
--- a/gnuradio-runtime/lib/top_block.cc
+++ b/gnuradio-runtime/lib/top_block.cc
@@ -25,10 +25,10 @@
#endif
#include "top_block_impl.h"
-#include <gnuradio/top_block.h>
+#include <gnuradio/high_res_timer.h>
#include <gnuradio/io_signature.h>
#include <gnuradio/prefs.h>
-#include <gnuradio/high_res_timer.h>
+#include <gnuradio/top_block.h>
#include <unistd.h>
#include <iostream>
diff --git a/gnuradio-runtime/lib/top_block_impl.cc b/gnuradio-runtime/lib/top_block_impl.cc
index 70b1e3e87c..16acb3826d 100644
--- a/gnuradio-runtime/lib/top_block_impl.cc
+++ b/gnuradio-runtime/lib/top_block_impl.cc
@@ -24,17 +24,17 @@
#include "config.h"
#endif
-#include "top_block_impl.h"
#include "flat_flowgraph.h"
#include "scheduler_tpb.h"
-#include <gnuradio/top_block.h>
+#include "top_block_impl.h"
#include <gnuradio/prefs.h>
+#include <gnuradio/top_block.h>
-#include <stdexcept>
-#include <iostream>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <stdlib.h>
+#include <iostream>
+#include <stdexcept>
namespace gr {
diff --git a/gnuradio-runtime/lib/top_block_impl.h b/gnuradio-runtime/lib/top_block_impl.h
index d31be2fac2..84611b3f85 100644
--- a/gnuradio-runtime/lib/top_block_impl.h
+++ b/gnuradio-runtime/lib/top_block_impl.h
@@ -23,8 +23,8 @@
#ifndef INCLUDED_GR_TOP_BLOCK_IMPL_H
#define INCLUDED_GR_TOP_BLOCK_IMPL_H
-#include <gnuradio/api.h>
#include "scheduler.h"
+#include <gnuradio/api.h>
#include <gnuradio/thread/thread.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/tpb_detail.cc b/gnuradio-runtime/lib/tpb_detail.cc
index f5963fc491..1d354082a0 100644
--- a/gnuradio-runtime/lib/tpb_detail.cc
+++ b/gnuradio-runtime/lib/tpb_detail.cc
@@ -23,10 +23,10 @@
#include <config.h>
#endif
-#include <gnuradio/tpb_detail.h>
#include <gnuradio/block.h>
#include <gnuradio/block_detail.h>
#include <gnuradio/buffer.h>
+#include <gnuradio/tpb_detail.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/tpb_thread_body.cc b/gnuradio-runtime/lib/tpb_thread_body.cc
index e40c6df16b..ff70ae197f 100644
--- a/gnuradio-runtime/lib/tpb_thread_body.cc
+++ b/gnuradio-runtime/lib/tpb_thread_body.cc
@@ -25,9 +25,9 @@
#include "tpb_thread_body.h"
#include <gnuradio/prefs.h>
-#include <boost/thread.hpp>
-#include <boost/foreach.hpp>
#include <pmt/pmt.h>
+#include <boost/foreach.hpp>
+#include <boost/thread.hpp>
#include <iostream>
namespace gr {
diff --git a/gnuradio-runtime/lib/tpb_thread_body.h b/gnuradio-runtime/lib/tpb_thread_body.h
index c919612281..e5342d5f70 100644
--- a/gnuradio-runtime/lib/tpb_thread_body.h
+++ b/gnuradio-runtime/lib/tpb_thread_body.h
@@ -21,11 +21,11 @@
#ifndef INCLUDED_GR_TPB_THREAD_BODY_H
#define INCLUDED_GR_TPB_THREAD_BODY_H
+#include "block_executor.h"
#include <gnuradio/api.h>
#include <gnuradio/block.h>
#include <gnuradio/block_detail.h>
#include <gnuradio/thread/thread.h>
-#include "block_executor.h"
namespace gr {
diff --git a/gnuradio-runtime/lib/vmcircbuf.cc b/gnuradio-runtime/lib/vmcircbuf.cc
index 59e6187b27..3f17b0ab6d 100644
--- a/gnuradio-runtime/lib/vmcircbuf.cc
+++ b/gnuradio-runtime/lib/vmcircbuf.cc
@@ -24,21 +24,21 @@
#include "config.h"
#endif
+#include "local_sighandler.h"
+#include "vmcircbuf.h"
+#include "vmcircbuf_prefs.h"
#include <assert.h>
-#include <stdexcept>
#include <stdio.h>
#include <string.h>
-#include <vector>
#include <boost/format.hpp>
-#include "vmcircbuf.h"
-#include "vmcircbuf_prefs.h"
-#include "local_sighandler.h"
+#include <stdexcept>
+#include <vector>
// all the factories we know about
#include "vmcircbuf_createfilemapping.h"
-#include "vmcircbuf_sysv_shm.h"
#include "vmcircbuf_mmap_shm_open.h"
#include "vmcircbuf_mmap_tmpfile.h"
+#include "vmcircbuf_sysv_shm.h"
gr::thread::mutex s_vm_mutex;
diff --git a/gnuradio-runtime/lib/vmcircbuf_createfilemapping.cc b/gnuradio-runtime/lib/vmcircbuf_createfilemapping.cc
index b215fcfa6a..55f8daace8 100644
--- a/gnuradio-runtime/lib/vmcircbuf_createfilemapping.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_createfilemapping.cc
@@ -24,20 +24,20 @@
#include "config.h"
#endif
-#include <stdexcept>
#include <assert.h>
-#include <unistd.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <stdexcept>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
-#include <errno.h>
-#include <stdio.h>
#include "pagesize.h"
#include "vmcircbuf_createfilemapping.h"
+#include <errno.h>
+#include <stdio.h>
#include <boost/format.hpp>
namespace gr {
diff --git a/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h b/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
index f289abcd96..e7c4b724b1 100644
--- a/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
+++ b/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
@@ -23,8 +23,8 @@
#ifndef GR_VMCIRCBUF_CREATEFILEMAPPING_H
#define GR_VMCIRCBUF_CREATEFILEMAPPING_H
-#include <gnuradio/api.h>
#include "vmcircbuf.h"
+#include <gnuradio/api.h>
#ifdef HAVE_CREATEFILEMAPPING
#include <windows.h>
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
index 3eef159d73..94f0a26f11 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
@@ -25,20 +25,20 @@
#endif
#include "vmcircbuf_mmap_shm_open.h"
-#include <stdexcept>
#include <assert.h>
-#include <unistd.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <stdexcept>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
-#include <errno.h>
-#include <stdio.h>
#include "pagesize.h"
#include <gnuradio/sys_paths.h>
+#include <errno.h>
+#include <stdio.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
index d0171e6c83..d3cbe4f018 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
@@ -23,8 +23,8 @@
#ifndef GR_VMCIRCBUF_MMAP_SHM_OPEN_H
#define GR_VMCIRCBUF_MMAP_SHM_OPEN_H
-#include <gnuradio/api.h>
#include "vmcircbuf.h"
+#include <gnuradio/api.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc b/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
index d9eec36df4..ec5f320ab1 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
@@ -25,22 +25,22 @@
#endif
#include "vmcircbuf_mmap_tmpfile.h"
-#include <stdexcept>
#include <assert.h>
-#include <unistd.h>
#include <stdlib.h>
+#include <unistd.h>
+#include <stdexcept>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
-#include <fcntl.h>
+#include "pagesize.h"
+#include <gnuradio/sys_paths.h>
#include <errno.h>
+#include <fcntl.h>
#include <stdio.h>
#include <string.h>
-#include "pagesize.h"
-#include <gnuradio/sys_paths.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.h b/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.h
index 4f4ae64090..e2a9ddc51a 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.h
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.h
@@ -23,8 +23,8 @@
#ifndef GR_VMCIRCBUF_MMAP_TMPFILE_H
#define GR_VMCIRCBUF_MMAP_TMPFILE_H
-#include <gnuradio/api.h>
#include "vmcircbuf.h"
+#include <gnuradio/api.h>
namespace gr {
diff --git a/gnuradio-runtime/lib/vmcircbuf_prefs.cc b/gnuradio-runtime/lib/vmcircbuf_prefs.cc
index 80c36f189f..3ff3e5af30 100644
--- a/gnuradio-runtime/lib/vmcircbuf_prefs.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_prefs.cc
@@ -24,16 +24,15 @@
#include "config.h"
#endif
-#include "vmcircbuf_prefs.h"
#include "vmcircbuf.h"
+#include "vmcircbuf_prefs.h"
#include <gnuradio/sys_paths.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
-#include <string.h>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
diff --git a/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc b/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
index 7f1ccd2d7b..92e627f78b 100644
--- a/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
@@ -25,20 +25,20 @@
#endif
#include "vmcircbuf_sysv_shm.h"
-#include <stdexcept>
#include <assert.h>
-#include <unistd.h>
-#include <stdlib.h>
#include <fcntl.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <stdexcept>
#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
#endif
#ifdef HAVE_SYS_SHM_H
#include <sys/shm.h>
#endif
+#include "pagesize.h"
#include <errno.h>
#include <stdio.h>
-#include "pagesize.h"
#define MAX_SYSV_SHM_ATTEMPTS 3
diff --git a/gnuradio-runtime/lib/vmcircbuf_sysv_shm.h b/gnuradio-runtime/lib/vmcircbuf_sysv_shm.h
index 461d60544e..fa503ea312 100644
--- a/gnuradio-runtime/lib/vmcircbuf_sysv_shm.h
+++ b/gnuradio-runtime/lib/vmcircbuf_sysv_shm.h
@@ -23,8 +23,8 @@
#ifndef GR_VMCIRCBUF_SYSV_SHM_H
#define GR_VMCIRCBUF_SYSV_SHM_H
-#include <gnuradio/api.h>
#include "vmcircbuf.h"
+#include <gnuradio/api.h>
namespace gr {