From 83056e43d70f02a8decb86f620ac1e24efb1b524 Mon Sep 17 00:00:00 2001 From: Don Ward Date: Fri, 25 Mar 2011 11:53:04 -0400 Subject: [PATCH] Fixing missing include files and various other patches for Windows build issues. --- host/lib/db_flexrf.cc | 3 +++ host/lib/db_wbxng.cc | 3 +++ host/lib/fusb_win32.cc | 1 + 3 files changed, 7 insertions(+) diff --git a/host/lib/db_flexrf.cc b/host/lib/db_flexrf.cc index 2819c19..ddd8701 100644 --- a/host/lib/db_flexrf.cc +++ b/host/lib/db_flexrf.cc @@ -24,6 +24,9 @@ #include #include +#ifdef HAVE_TIME_H +#include +#endif // d'board i/o pin defs // Tx and Rx have shared defs, but different i/o regs diff --git a/host/lib/db_wbxng.cc b/host/lib/db_wbxng.cc index 8920065..4d17c72 100644 --- a/host/lib/db_wbxng.cc +++ b/host/lib/db_wbxng.cc @@ -26,6 +26,9 @@ #include "db_wbxng_adf4350.h" #include #include +#ifdef HAVE_TIME_H +#include +#endif // d'board i/o pin defs // Tx and Rx have shared defs, but different i/o regs diff --git a/host/lib/fusb_win32.cc b/host/lib/fusb_win32.cc index 8900576..8c21853 100644 --- a/host/lib/fusb_win32.cc +++ b/host/lib/fusb_win32.cc @@ -29,6 +29,7 @@ #include #include #include +#include static const int MAX_BLOCK_SIZE = fusb_sysconfig::max_block_size(); static const int DEFAULT_BLOCK_SIZE = MAX_BLOCK_SIZE;