diff --git a/examples/SpdyServer.cc b/examples/SpdyServer.cc index 0142a01d..e1590cf2 100644 --- a/examples/SpdyServer.cc +++ b/examples/SpdyServer.cc @@ -53,7 +53,7 @@ const std::string STATUS_304 = "304 Not Modified"; const std::string STATUS_400 = "400 Bad Request"; const std::string STATUS_404 = "404 Not Found"; const std::string DEFAULT_HTML = "index.html"; -const std::string SPDYD_SERVER = "spdyd spdylay/"SPDYLAY_VERSION; +const std::string SPDYD_SERVER = "spdyd spdylay/" SPDYLAY_VERSION; } // namespace Config::Config(): verbose(false), daemon(false), port(0), data_ptr(0), diff --git a/examples/shrpx_listen_handler.cc b/examples/shrpx_listen_handler.cc index a49036c2..2503fc48 100644 --- a/examples/shrpx_listen_handler.cc +++ b/examples/shrpx_listen_handler.cc @@ -24,6 +24,7 @@ */ #include "shrpx_listen_handler.h" +#include #include #include diff --git a/examples/shrpx_thread_event_receiver.cc b/examples/shrpx_thread_event_receiver.cc index 009589d9..16a74ce1 100644 --- a/examples/shrpx_thread_event_receiver.cc +++ b/examples/shrpx_thread_event_receiver.cc @@ -24,6 +24,8 @@ */ #include "shrpx_thread_event_receiver.h" +#include + #include "shrpx_ssl.h" #include "shrpx_log.h" #include "shrpx_client_handler.h" diff --git a/examples/spdylay_ssl.cc b/examples/spdylay_ssl.cc index f0eea358..6faacf9c 100644 --- a/examples/spdylay_ssl.cc +++ b/examples/spdylay_ssl.cc @@ -132,7 +132,7 @@ int Spdylay::submit_request(const std::string& hostport, ":scheme", "https", ":host", hostport.c_str(), "accept", "*/*", - "user-agent", "spdylay/"SPDYLAY_VERSION, + "user-agent", "spdylay/" SPDYLAY_VERSION, NULL }; return spdylay_submit_request(session_, pri, nv, NULL, stream_user_data);