From 64dac6a1f62fb8484e879f0d20ee60bc02da179c Mon Sep 17 00:00:00 2001
From: Don Ward <don2387ward@sprynet.com>
Date: Fri, 25 Mar 2011 11:53:04 -0400
Subject: Fixing missing include files and various other patches for Windows
 build issues.

---
 usrp/host/lib/db_flexrf.cc  | 3 +++
 usrp/host/lib/db_wbxng.cc   | 3 +++
 usrp/host/lib/fusb_win32.cc | 1 +
 3 files changed, 7 insertions(+)

(limited to 'usrp/host')

diff --git a/usrp/host/lib/db_flexrf.cc b/usrp/host/lib/db_flexrf.cc
index 2819c19bd7..ddd87012d3 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 89200653ea..4d17c72d1c 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 8900576d93..8c218534bc 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;
-- 
cgit v1.2.3