From c1329c8590a6c30763fa1a320e7780dc6c018765 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 16 Sep 2017 16:33:21 +0200 Subject: [PATCH] lws: make LWS_WITH_SERVER_STATUS optional --- lib/api/actions/status.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/api/actions/status.c b/lib/api/actions/status.c index 6e180f1dc..915867b3b 100644 --- a/lib/api/actions/status.c +++ b/lib/api/actions/status.c @@ -20,6 +20,8 @@ * along with this program. If not, see . *********************************************************************************/ +#ifdef LWS_WITH_SERVER_STATUS + #include #include "plugin.h" @@ -51,3 +53,5 @@ static struct plugin p = { }; REGISTER_PLUGIN(&p) + +#endif /* LWS_WITH_SERVER_STATUS */