summaryrefslogtreecommitdiff
path: root/usrp/host/lib
diff options
context:
space:
mode:
authorDon Ward2011-03-25 11:53:04 -0400
committerTom Rondeau2011-03-25 11:53:04 -0400
commit64dac6a1f62fb8484e879f0d20ee60bc02da179c (patch)
tree0e0ab0ad264a5af0d0f6256260295b8563179da5 /usrp/host/lib
parent34313eace681a82e230c38a8cd26c0001ee823ea (diff)
downloadgnuradio-64dac6a1f62fb8484e879f0d20ee60bc02da179c.tar.gz
gnuradio-64dac6a1f62fb8484e879f0d20ee60bc02da179c.tar.bz2
gnuradio-64dac6a1f62fb8484e879f0d20ee60bc02da179c.zip
Fixing missing include files and various other patches for Windows build issues.
Diffstat (limited to 'usrp/host/lib')
-rw-r--r--usrp/host/lib/db_flexrf.cc3
-rw-r--r--usrp/host/lib/db_wbxng.cc3
-rw-r--r--usrp/host/lib/fusb_win32.cc1
3 files changed, 7 insertions, 0 deletions
diff --git a/usrp/host/lib/db_flexrf.cc b/usrp/host/lib/db_flexrf.cc
index 2819c19bd..ddd87012d 100644
--- a/usrp/host/lib/db_flexrf.cc
+++ b/usrp/host/lib/db_flexrf.cc
@@ -24,6 +24,9 @@
#include <usrp/db_flexrf.h>
#include <db_base_impl.h>
+#ifdef HAVE_TIME_H
+#include <ctime>
+#endif
// d'board i/o pin defs
// Tx and Rx have shared defs, but different i/o regs
diff --git a/usrp/host/lib/db_wbxng.cc b/usrp/host/lib/db_wbxng.cc
index 89200653e..4d17c72d1 100644
--- a/usrp/host/lib/db_wbxng.cc
+++ b/usrp/host/lib/db_wbxng.cc
@@ -26,6 +26,9 @@
#include "db_wbxng_adf4350.h"
#include <db_base_impl.h>
#include <stdio.h>
+#ifdef HAVE_TIME_H
+#include <ctime>
+#endif
// d'board i/o pin defs
// Tx and Rx have shared defs, but different i/o regs
diff --git a/usrp/host/lib/fusb_win32.cc b/usrp/host/lib/fusb_win32.cc
index 8900576d9..8c218534b 100644
--- a/usrp/host/lib/fusb_win32.cc
+++ b/usrp/host/lib/fusb_win32.cc
@@ -29,6 +29,7 @@
#include <assert.h>
#include <stdexcept>
#include <string.h>
+#include <cstdio>
static const int MAX_BLOCK_SIZE = fusb_sysconfig::max_block_size();
static const int DEFAULT_BLOCK_SIZE = MAX_BLOCK_SIZE;