From 507bec8b8ebfa1dd6dbce876c88cf70f9a0e675e Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sat, 16 Sep 2017 01:25:47 +0200 Subject: [PATCH] [-] Fixup ifdef WEBSOCKET->HAVE_LIBWEBSOCKETS that I missed --- src/httpd_jsonapi.c | 2 +- src/misc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/httpd_jsonapi.c b/src/httpd_jsonapi.c index 091a68fc..67df8f80 100644 --- a/src/httpd_jsonapi.c +++ b/src/httpd_jsonapi.c @@ -83,7 +83,7 @@ jsonapi_reply_config(struct evhttp_request *req, struct evbuffer *evbuf, char *u reply = json_object_new_object(); // Websocket port -#ifdef WEBSOCKET +#ifdef HAVE_LIBWEBSOCKETS websocket_port = cfg_getint(cfg_getsec(cfg, "general"), "websocket_port"); #else websocket_port = 0; diff --git a/src/misc.c b/src/misc.c index cc902f4f..250cefbb 100644 --- a/src/misc.c +++ b/src/misc.c @@ -66,8 +66,8 @@ static char *buildopts[] = #ifdef RAOP_VERIFICATION "Device verification", #endif -#ifdef WEBSOCKET - "Websocket", +#ifdef HAVE_LIBWEBSOCKETS + "Websockets", #endif #ifdef HAVE_ALSA "ALSA",