summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assistant/Threads/NetWatcher.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Assistant/Threads/NetWatcher.hs b/Assistant/Threads/NetWatcher.hs
index a7124fa01..0b009647c 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