diff --git a/websocketpp/transport/iostream/connection.hpp b/websocketpp/transport/iostream/connection.hpp index d26d786f92..a59ad5fa9d 100644 --- a/websocketpp/transport/iostream/connection.hpp +++ b/websocketpp/transport/iostream/connection.hpp @@ -28,6 +28,8 @@ #ifndef WEBSOCKETPP_TRANSPORT_IOSTREAM_CON_HPP #define WEBSOCKETPP_TRANSPORT_IOSTREAM_CON_HPP +#include + #include #include @@ -42,6 +44,7 @@ template class connection { public: typedef connection type; + typedef lib::shared_ptr ptr; class handler_interface {};