From 5eff889929b78caf25da4eb354f847b5a10e9bdc Mon Sep 17 00:00:00 2001 From: Geoffrey Merck F4FXL - KC3FRA Date: Wed, 17 Apr 2019 10:42:18 +0200 Subject: [PATCH] Fix Windows build asking for wget --- Common/XLXHostsFileDownloader.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Common/XLXHostsFileDownloader.h b/Common/XLXHostsFileDownloader.h index 2112b1e..b7212a9 100644 --- a/Common/XLXHostsFileDownloader.h +++ b/Common/XLXHostsFileDownloader.h @@ -19,10 +19,12 @@ #ifndef XLXHostsFileDownloader_H #define XLXHostsFileDownloader_H -#if !defined (_WINDOWS__) + +#include + +#if !defined (__WINDOWS__) #define XLX_USE_WGET //for some reason libwx is missing the net stuff on some distros, therefore always use wget if we are not compiling under windows #endif -#include class CXLXHostsFileDownloader { public: