diff --git a/lib/plat/lws-plat-unix.c b/lib/plat/lws-plat-unix.c index 351e4b9b6..c731a645d 100644 --- a/lib/plat/lws-plat-unix.c +++ b/lib/plat/lws-plat-unix.c @@ -30,10 +30,6 @@ #endif #include -#if defined(LWS_HAVE_TCP_USER_TIMEOUT) && defined(__linux__) -#include -#endif - int lws_plat_socket_offset(void) { diff --git a/lib/roles/h1/ops-h1.c b/lib/roles/h1/ops-h1.c index d3b16f4d1..49dfe4b47 100644 --- a/lib/roles/h1/ops-h1.c +++ b/lib/roles/h1/ops-h1.c @@ -195,6 +195,7 @@ postbody_completion: } break; + case LRS_RETURNED_CLOSE: case LRS_AWAITING_CLOSE_ACK: case LRS_WAITING_TO_SEND_CLOSE: case LRS_SHUTDOWN: