diff --git a/lib/web.c b/lib/web.c index 381e147a4..c8cc06c4a 100644 --- a/lib/web.c +++ b/lib/web.c @@ -58,14 +58,14 @@ lws_callback_function websocket_protocol_cb; .rx_buffer_size = 0 }, #endif /* WITH_API */ -#ifdef LIBWEBSOCKETS_FOUND +#ifdef Libwebsockets_FOUND { .name = "live", .callback = websocket_protocol_cb, .per_session_data_size = sizeof(struct websocket_connection), .rx_buffer_size = 0 }, -#endif /* LIBWEBSOCKETS_FOUND */ +#endif /* Libwebsockets_FOUND */ #if 0 /* not supported yet */ { .name = "log", diff --git a/src/villas-pipe.cpp b/src/villas-pipe.cpp index 80c00803b..9f3f47f43 100644 --- a/src/villas-pipe.cpp +++ b/src/villas-pipe.cpp @@ -355,13 +355,13 @@ check: if (optarg == endptr) if (!node) error("Node %s does not exist!", nodestr); -#ifdef LIBWEBSOCKETS_FOUND +#ifdef Libwebsockets_FOUND /* Only start web subsystem if villas-pipe is used with a websocket node */ if (node->_vt->start == websocket_start) { web_start(&sn.web); api_start(&sn.api); } -#endif /* LIBWEBSOCKETS_FOUND */ +#endif /* Libwebsockets_FOUND */ if (reverse) node_reverse(node);