summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-07 14:53:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-07 14:56:32 -0400
commit4b273426f0087395f00cf56caca757b780777cc9 (patch)
tree866f46df0d24f6afb90ebe0c51d6d5ac522b6763 /Assistant
parent70ef01cc1277d288e1719ddfff4efa4d54ea9b4d (diff)
NetManager is only currently used with dbus
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/NetWatcher.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/NetWatcher.hs b/Assistant/Threads/NetWatcher.hs
index 3b1545543..c5a48ad25 100644
--- a/Assistant/Threads/NetWatcher.hs
+++ b/Assistant/Threads/NetWatcher.hs
@@ -12,7 +12,6 @@ module Assistant.Threads.NetWatcher where
import Assistant.Common
import Assistant.Sync
-import Assistant.NetMessager
import Utility.ThreadScheduler
import Remote.List
import qualified Types.Remote as Remote
@@ -22,6 +21,7 @@ import Utility.DBus
import DBus.Client
import DBus
import Data.Word (Word32)
+import Assistant.NetMessager
#else
#warning Building without dbus support; will poll for network connection changes
#endif