summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorJosh Blum2011-07-09 19:30:40 -0700
committerJosh Blum2011-07-20 11:52:11 -0700
commit34488d41f4bb066fb506f6851e92daf02609262b (patch)
treeee39bdbe7d971f4c614b1c2c30282c4af226f17d /gnuradio-core/src/lib/general
parentc0580462f19d99a97b7955b9215bd08eab24cd5b (diff)
downloadgnuradio-34488d41f4bb066fb506f6851e92daf02609262b.tar.gz
gnuradio-34488d41f4bb066fb506f6851e92daf02609262b.tar.bz2
gnuradio-34488d41f4bb066fb506f6851e92daf02609262b.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>