diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-27 16:59:13 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-27 16:59:13 -0400 |
commit | b2e4a3e22fc2f75817a716d7c81e99ef64129bc6 (patch) | |
tree | c10229fb75d396bae7ea4fb7e633dceabb70ae1d /gnuradio-runtime/lib | |
parent | a7ee9c9f0575580daa0da7a844a09ba65af143e5 (diff) |
build: remove config.h from any header files; only use it in source files.
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r-- | gnuradio-runtime/lib/gr_logger.cc | 4 | ||||
-rw-r--r-- | gnuradio-runtime/lib/test_runtime.cc | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/gr_logger.cc b/gnuradio-runtime/lib/gr_logger.cc index 7e0116d036..82737128bb 100644 --- a/gnuradio-runtime/lib/gr_logger.cc +++ b/gnuradio-runtime/lib/gr_logger.cc @@ -26,6 +26,10 @@ * The gr_log module wraps the log4cpp library for logging in gnuradio. *******************************************************************************/ +#ifndef ENABLE_GR_LOG +#include "config.h" +#endif + #include <gr_logger.h> #include <stdexcept> #include <algorithm> diff --git a/gnuradio-runtime/lib/test_runtime.cc b/gnuradio-runtime/lib/test_runtime.cc index bd5378332e..783cbebc0b 100644 --- a/gnuradio-runtime/lib/test_runtime.cc +++ b/gnuradio-runtime/lib/test_runtime.cc @@ -20,6 +20,10 @@ * Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <cppunit/TextTestRunner.h> #include <cppunit/XmlOutputter.h> |