summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2011-07-09 19:30:40 -0700
committerJohnathan Corgan2011-07-26 16:38:08 -0700
commite4c4e9c9567e669b78b145975daa0c1ad00182ca (patch)
treefca58960a38671fa2f2185cbf4c1894f08ae63c9
parentf5c18ec56d270c5cbc67bd12bfc22973583239e3 (diff)
downloadgnuradio-e4c4e9c9567e669b78b145975daa0c1ad00182ca.tar.gz
gnuradio-e4c4e9c9567e669b78b145975daa0c1ad00182ca.tar.bz2
gnuradio-e4c4e9c9567e669b78b145975daa0c1ad00182ca.zip
core: added missing config.h includes on cc files
Added to the cc files which were missing config.h and required compatibility functions defined in config.h. Applies to compiling under MSVC with cmake work branch.
-rw-r--r--gnuradio-core/src/lib/filter/gri_goertzel.cc3
-rw-r--r--gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator.cc4
-rw-r--r--gnuradio-core/src/lib/general/gr_firdes.cc4
-rw-r--r--gnuradio-core/src/lib/general/gr_random.cc3
-rw-r--r--gnuradio-core/src/lib/general/gri_float_to_char.cc4
-rw-r--r--gnuradio-core/src/lib/general/gri_float_to_short.cc4
-rw-r--r--gnuradio-core/src/lib/general/gri_float_to_uchar.cc4
-rw-r--r--gnuradio-core/src/lib/io/microtune_xxxx_eval_board.cc4
8 files changed, 30 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/filter/gri_goertzel.cc b/gnuradio-core/src/lib/filter/gri_goertzel.cc
index 85e66c069..73b8366ab 100644
--- a/gnuradio-core/src/lib/filter/gri_goertzel.cc
+++ b/gnuradio-core/src/lib/filter/gri_goertzel.cc
@@ -20,6 +20,9 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <cmath>
#include <gri_goertzel.h>
diff --git a/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator.cc b/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator.cc
index 63654a280..d158ff00d 100644
--- a/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator.cc
+++ b/gnuradio-core/src/lib/filter/qa_gri_mmse_fir_interpolator.cc
@@ -20,6 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <cppunit/TestAssert.h>
#include <qa_gri_mmse_fir_interpolator.h>
#include <gri_mmse_fir_interpolator.h>
diff --git a/gnuradio-core/src/lib/general/gr_firdes.cc b/gnuradio-core/src/lib/general/gr_firdes.cc
index 5d192d67e..13110d57d 100644
--- a/gnuradio-core/src/lib/general/gr_firdes.cc
+++ b/gnuradio-core/src/lib/general/gr_firdes.cc
@@ -20,6 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gr_firdes.h>
#include <stdexcept>
diff --git a/gnuradio-core/src/lib/general/gr_random.cc b/gnuradio-core/src/lib/general/gr_random.cc
index 67f760006..52140acc2 100644
--- a/gnuradio-core/src/lib/general/gr_random.cc
+++ b/gnuradio-core/src/lib/general/gr_random.cc
@@ -35,6 +35,9 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <math.h>
#include <gr_random.h>
diff --git a/gnuradio-core/src/lib/general/gri_float_to_char.cc b/gnuradio-core/src/lib/general/gri_float_to_char.cc
index a17b01f55..28f15a3b3 100644
--- a/gnuradio-core/src/lib/general/gri_float_to_char.cc
+++ b/gnuradio-core/src/lib/general/gri_float_to_char.cc
@@ -20,6 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define _ISOC9X_SOURCE
#include <gri_float_to_char.h>
#include <math.h>
diff --git a/gnuradio-core/src/lib/general/gri_float_to_short.cc b/gnuradio-core/src/lib/general/gri_float_to_short.cc
index 13afc51d9..93a2784f5 100644
--- a/gnuradio-core/src/lib/general/gri_float_to_short.cc
+++ b/gnuradio-core/src/lib/general/gri_float_to_short.cc
@@ -20,6 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define _ISOC9X_SOURCE
#include <gri_float_to_short.h>
#include <math.h>
diff --git a/gnuradio-core/src/lib/general/gri_float_to_uchar.cc b/gnuradio-core/src/lib/general/gri_float_to_uchar.cc
index 394cbc100..a022c95d8 100644
--- a/gnuradio-core/src/lib/general/gri_float_to_uchar.cc
+++ b/gnuradio-core/src/lib/general/gri_float_to_uchar.cc
@@ -20,6 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#define _ISOC9X_SOURCE
#include <gri_float_to_uchar.h>
#include <math.h>
diff --git a/gnuradio-core/src/lib/io/microtune_xxxx_eval_board.cc b/gnuradio-core/src/lib/io/microtune_xxxx_eval_board.cc
index 668f04cad..14f2b8589 100644
--- a/gnuradio-core/src/lib/io/microtune_xxxx_eval_board.cc
+++ b/gnuradio-core/src/lib/io/microtune_xxxx_eval_board.cc
@@ -20,6 +20,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "microtune_xxxx_eval_board.h"
#include "microtune_eval_board_defs.h"
#include "microtune_xxxx.h"