From aee2a4e52e7a2b9dcb60d1d34f59f7f8f80e7f86 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 24 Feb 2011 23:10:37 -0800 Subject: usrp-e100: conditional code for when fpga downloader is externally included --- host/lib/usrp/usrp_e100/fpga_downloader.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'host/lib/usrp/usrp_e100') diff --git a/host/lib/usrp/usrp_e100/fpga_downloader.cpp b/host/lib/usrp/usrp_e100/fpga_downloader.cpp index 95665da83..018a120d6 100644 --- a/host/lib/usrp/usrp_e100/fpga_downloader.cpp +++ b/host/lib/usrp/usrp_e100/fpga_downloader.cpp @@ -16,7 +16,15 @@ // #include +#ifdef UHD_DLL_EXPORTS #include +#else //special case when this file is externally included +#include +namespace uhd{ + typedef std::runtime_error os_error; + typedef std::runtime_error io_error; +} +#endif #include #include -- cgit v1.2.3