diff --git a/lib/plat/lws-plat-unix.c b/lib/plat/lws-plat-unix.c index bacc6af64..351e4b9b6 100644 --- a/lib/plat/lws-plat-unix.c +++ b/lib/plat/lws-plat-unix.c @@ -1,7 +1,7 @@ /* * libwebsockets - small server side websockets and web server implementation * - * Copyright (C) 2010-2017 Andy Green + * Copyright (C) 2010-2018 Andy Green * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -30,6 +30,10 @@ #endif #include +#if defined(LWS_HAVE_TCP_USER_TIMEOUT) && defined(__linux__) +#include +#endif + int lws_plat_socket_offset(void) {