summaryrefslogtreecommitdiff
path: root/Assistant/Threads/NetWatcher.hs
diff options
context:
space:
mode:
authorGravatar Richard Hartmann <richih@debian.org>2014-02-25 22:38:01 +0100
committerGravatar Richard Hartmann <richih@debian.org>2014-02-25 22:38:01 +0100
commit31a6561da3b95ce1ad13fcee1e9053f40ffdd7b9 (patch)
tree3c673ae9de75dbb208b948d52c9d6eb8e99baee0 /Assistant/Threads/NetWatcher.hs
parentd1147087b30b67a139e51235e977be27dc69765d (diff)
parent013de7458fca15316b788acb47415e5afddcb6f0 (diff)
Merge branch 'master' of git://git-annex.branchable.com
Diffstat (limited to 'Assistant/Threads/NetWatcher.hs')
-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