diff --git a/src/shrpx_memcached_connection.cc b/src/shrpx_memcached_connection.cc index 3d50fedf..b954b8d7 100644 --- a/src/shrpx_memcached_connection.cc +++ b/src/shrpx_memcached_connection.cc @@ -27,6 +27,8 @@ #include #include +#include + #include "shrpx_memcached_request.h" #include "shrpx_memcached_result.h" #include "shrpx_config.h" diff --git a/src/timegm.c b/src/timegm.c index e52fe74a..fc6df824 100644 --- a/src/timegm.c +++ b/src/timegm.c @@ -84,5 +84,5 @@ time_t nghttp2_timegm_without_yday(struct tm *tm) { } #endif /* SIZEOF_TIME_T == 4 */ - return t; + return (time_t)t; }