diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 7de976f0..1160d9bf 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1475,7 +1475,7 @@ libwebsocket_create_context(int port, const char *interf, lwsl_err("No memory for websocket context\n"); return NULL; } -#ifndef NO_DAEMONIZE +#ifndef LWS_NO_DAEMONIZE extern int pid_daemon; context->started_with_parent = pid_daemon; lwsl_notice(" Started with daemon pid %d\n", pid_daemon);