[-] Fixup ifdef WEBSOCKET->HAVE_LIBWEBSOCKETS that I missed

This commit is contained in:
ejurgensen 2017-09-16 01:25:47 +02:00
parent ef6f465aa8
commit 507bec8b8e
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ jsonapi_reply_config(struct evhttp_request *req, struct evbuffer *evbuf, char *u
reply = json_object_new_object(); reply = json_object_new_object();
// Websocket port // Websocket port
#ifdef WEBSOCKET #ifdef HAVE_LIBWEBSOCKETS
websocket_port = cfg_getint(cfg_getsec(cfg, "general"), "websocket_port"); websocket_port = cfg_getint(cfg_getsec(cfg, "general"), "websocket_port");
#else #else
websocket_port = 0; websocket_port = 0;

View File

@ -66,8 +66,8 @@ static char *buildopts[] =
#ifdef RAOP_VERIFICATION #ifdef RAOP_VERIFICATION
"Device verification", "Device verification",
#endif #endif
#ifdef WEBSOCKET #ifdef HAVE_LIBWEBSOCKETS
"Websocket", "Websockets",
#endif #endif
#ifdef HAVE_ALSA #ifdef HAVE_ALSA
"ALSA", "ALSA",