summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-25 14:49:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-25 14:49:27 -0400
commit7cdfa61f3e06cd5289447bcd6a414709af445ae8 (patch)
tree854c30c130b492f988aee8cb415ef308f699c5ef
parentf55d91cc91eec2debf4bb013ff2f5201ea1474ea (diff)
only warn about no dbus when building on linux
-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