summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-05-14 18:39:03 +0100
committerTom Rondeau <trondeau@vt.edu>2013-05-14 18:39:03 +0100
commitb3eeae23aca4eb340c1e33014dd2c1dae7859f6e (patch)
tree345f5cbd4269b5474d8ce368063e68e64fe48d2e
parentcc8509daaf1430608b7dad6f0cfe6ca0e9697c00 (diff)
modtool: update noblock for new api.
-rw-r--r--gr-utils/python/modtool/templates.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/templates.py b/gr-utils/python/modtool/templates.py
index 740ba5dabd..f970ce0ae2 100644
--- a/gr-utils/python/modtool/templates.py
+++ b/gr-utils/python/modtool/templates.py
@@ -251,7 +251,9 @@ ${str_to_fancyc_comment($license)}
\#define INCLUDED_${modname.upper()}_${blockname.upper()}_H
\#include <${modname}/api.h>
+#if $blocktype != 'noblock'
\#include <gnuradio/${grblocktype}.h>
+#end if
namespace gr {
namespace ${modname} {