From 2bfe605b1f836e6a12784b23194a6f111c336389 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 23 Apr 2019 11:32:23 +0200 Subject: [PATCH] tests: fix integration test pipe-loopback-websocket --- include/villas/node/config.h.in | 1 + src/villas-pipe.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/villas/node/config.h.in b/include/villas/node/config.h.in index b2a0fa21b..ad8d69fcf 100644 --- a/include/villas/node/config.h.in +++ b/include/villas/node/config.h.in @@ -50,6 +50,7 @@ /* Available Features */ #cmakedefine WITH_WEB +#cmakedefine WITH_NODE_WEBSOCKET #cmakedefine WITH_API #cmakedefine WITH_HOOKS #cmakedefine WITH_CONFIG diff --git a/src/villas-pipe.cpp b/src/villas-pipe.cpp index 9474f76a1..d5a6c0f1f 100644 --- a/src/villas-pipe.cpp +++ b/src/villas-pipe.cpp @@ -376,7 +376,7 @@ check: if (optarg == endptr) if (!node) throw RuntimeError("Node {} does not exist!", nodestr); -#ifdef WITH_NODE_WEBSOCKET +#if defined(WITH_NODE_WEBSOCKET) && defined(WITH_WEB) /* Only start web subsystem if villas-pipe is used with a websocket node */ if (node_type(node)->start == websocket_start) { Web *w = sn.getWeb();