Subject: lws_stats: fix compile error on VS2013
[platform/upstream/libwebsockets.git] / lib / lws-plat-unix.c
index 3c41a46..b9f317b 100644 (file)
@@ -114,6 +114,8 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
 
        pt = &context->pt[tsi];
 
+       lws_stats_atomic_bump(context, pt, LWSSTATS_C_SERVICE_ENTRY, 1);
+
        if (timeout_ms < 0)
                goto faked_service;