summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-23 11:48:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-23 11:48:09 -0400
commitbcf8a679b46ee86985e7c01c341f67a726e1539c (patch)
treece2a9d4c4b079a88452b8dd7e43a9941cde3f0dd
parent4a324eebc9d4e82899e1587b0647fd472002bf83 (diff)
build fix for non-webapp enabled build
-rw-r--r--Assistant.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Assistant.hs b/Assistant.hs
index d1ef12975..8b326c8b5 100644
--- a/Assistant.hs
+++ b/Assistant.hs
@@ -174,7 +174,9 @@ startAssistant assistant daemonize webappwaiter = withThreadState $ \st -> do
transferqueue <- newTransferQueue
transferslots <- newTransferSlots
scanremotes <- newScanRemoteMap
+#ifdef WITH_WEBAPP
urlrenderer <- newUrlRenderer
+#endif
mapM_ (startthread dstatus)
[ watch $ commitThread st changechan commitchan transferqueue dstatus
#ifdef WITH_WEBAPP