Fix build error with Android NDK

This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-30 22:57:25 +09:00
parent 96a6dcb152
commit a152c6346d
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,8 @@
#include <limits.h> #include <limits.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <cerrno>
#include "shrpx_memcached_request.h" #include "shrpx_memcached_request.h"
#include "shrpx_memcached_result.h" #include "shrpx_memcached_result.h"
#include "shrpx_config.h" #include "shrpx_config.h"

View File

@ -84,5 +84,5 @@ time_t nghttp2_timegm_without_yday(struct tm *tm) {
} }
#endif /* SIZEOF_TIME_T == 4 */ #endif /* SIZEOF_TIME_T == 4 */
return t; return (time_t)t;
} }