summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorJosh Blum2011-07-09 19:30:40 -0700
committerJohnathan Corgan2011-07-26 16:38:08 -0700
commite4c4e9c9567e669b78b145975daa0c1ad00182ca (patch)
treefca58960a38671fa2f2185cbf4c1894f08ae63c9 /gnuradio-core/src/lib/general
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.
Diffstat (limited to 'gnuradio-core/src/lib/general')
-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
5 files changed, 19 insertions, 0 deletions
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>