diff --git a/CMakeLists-implied-options.txt b/CMakeLists-implied-options.txt index 4c6a159c1..249d087fb 100644 --- a/CMakeLists-implied-options.txt +++ b/CMakeLists-implied-options.txt @@ -235,6 +235,7 @@ endif() if (LWS_WITH_PLUGINS AND NOT LWS_WITH_LIBUV) message(STATUS "LWS_WITH_PLUGINS --> Enabling LWS_WITH_LIBUV") set(LWS_WITH_LIBUV 1) + set(LWS_WITH_EVENT_LIBS 1) endif() if (LWS_WITH_PLUGINS OR LWS_WITH_CGI) diff --git a/plugins/protocol_lws_raw_test.c b/plugins/protocol_lws_raw_test.c index 41d81f60e..3f970eef5 100644 --- a/plugins/protocol_lws_raw_test.c +++ b/plugins/protocol_lws_raw_test.c @@ -74,6 +74,8 @@ #include #include +#include + struct per_vhost_data__raw_test { struct lws_context *context; struct lws_vhost *vhost; diff --git a/plugins/protocol_lws_sshd_demo.c b/plugins/protocol_lws_sshd_demo.c index aeb686b15..3ff9147ef 100644 --- a/plugins/protocol_lws_sshd_demo.c +++ b/plugins/protocol_lws_sshd_demo.c @@ -29,6 +29,7 @@ #include #include #include +#include #define TEST_SERVER_KEY_PATH "/etc/lws-test-sshd-server-key"