diff --git a/Assistant/Threads/NetWatcher.hs b/Assistant/Threads/NetWatcher.hs index a7124fa01c..0b009647c1 100644 --- a/Assistant/Threads/NetWatcher.hs +++ b/Assistant/Threads/NetWatcher.hs @@ -24,8 +24,10 @@ import DBus import Data.Word (Word32) import Assistant.NetMessager #else +#ifdef linux_HOST_OS #warning Building without dbus support; will poll for network connection changes #endif +#endif netWatcherThread :: NamedThread #if WITH_DBUS