summaryrefslogtreecommitdiff
path: root/src/Notifier.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-08 00:50:25 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-08 00:50:25 +0900
commitfcbdecfd1e6aaa92cb1769ed1d395d59648ad5a6 (patch)
tree02c3b64685c6415e69f4684742753b947b575837 /src/Notifier.cc
parent7bc2a14d9f2f16bca991ecf22507b7ef0e8f4d6a (diff)
Conditional compile for WebSocket.
WebSocket support depends on Message Digest support.
Diffstat (limited to 'src/Notifier.cc')
-rw-r--r--src/Notifier.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Notifier.cc b/src/Notifier.cc
index 9375c40d..6d843340 100644
--- a/src/Notifier.cc
+++ b/src/Notifier.cc
@@ -34,8 +34,12 @@
/* copyright --> */
#include "Notifier.h"
#include "RequestGroup.h"
-#include "WebSocketSessionMan.h"
#include "LogFactory.h"
+#ifdef ENABLE_WEBSOCKET
+# include "WebSocketSessionMan.h"
+#else // !ENABLE_WEBSOCKET
+# include "NullWebSocketSessionMan.h"
+#endif // !ENABLE_WEBSOCKET
namespace aria2 {