diff --git a/lib/lws-plat-unix.c b/lib/lws-plat-unix.c index 773ed9f3..0551ad65 100644 --- a/lib/lws-plat-unix.c +++ b/lib/lws-plat-unix.c @@ -3,7 +3,9 @@ #include #include +#ifdef LWS_WITH_PLUGINS #include +#endif #include diff --git a/lib/server.c b/lib/server.c index c9cf9b2e..4d49f836 100644 --- a/lib/server.c +++ b/lib/server.c @@ -2543,7 +2543,7 @@ lws_chunked_html_process(struct lws_process_html_args *args, } if ((!s->pos && *sp == '$') || s->pos) { - int hits = 0, hit; + int hits = 0, hit = 0; if (!s->pos) s->start = sp;