summaryrefslogtreecommitdiff
path: root/src/lib/json_server.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-10 16:38:33 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-12 09:13:51 +0100
commitb1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f (patch)
tree9968238c6c0511f044e6fcdb4abcc08b5eb28f27 /src/lib/json_server.h
parent4a0ae92e28d7d1f0dd648d1b620efc324fdef161 (diff)
Remove all use of stringstream in an attempt to fix
the suspected thread-unsafe crash bugs on OS X.
Diffstat (limited to 'src/lib/json_server.h')
-rw-r--r--src/lib/json_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/json_server.h b/src/lib/json_server.h
index 5d1cb0492..996b9bf79 100644
--- a/src/lib/json_server.h
+++ b/src/lib/json_server.h
@@ -18,6 +18,8 @@
*/
+#include <boost/asio.hpp>
+
class JSONServer
{
public:
@@ -28,5 +30,3 @@ private:
void handle (boost::shared_ptr<boost::asio::ip::tcp::socket> socket);
void request (std::string url, boost::shared_ptr<boost::asio::ip::tcp::socket> socket);
};
-
-