diff --git a/include/net/http_wsserver.h b/include/net/http_wsserver.h index 120e280..9535f49 100644 --- a/include/net/http_wsserver.h +++ b/include/net/http_wsserver.h @@ -1,6 +1,7 @@ #pragma once #include "http_define.h" #if USE_NET_HTTP_WS == 1 +#include #include #include "base/define.h" #include "base/error.h" @@ -55,7 +56,7 @@ namespace ylib wsserver_lst* m_listener = nullptr; // HPServer void* m_server = nullptr; - + public: std::function m_callback_accept; std::function m_callback_recv; std::function m_callback_close;