Fix Solaris compilation due to ctime_r() call.
Fix Solaris compilation due to ctime_r() call.

Introduced in Redis 2.8.10 because of a change in Sentinel.
This closes issue #1837.

xuzhezhaozhao/redis_reading,darksideofthemoo/redis-histogram,himoca/redis,louisliangjun/redis,himoca/redis,HunanTV/redis,ramonsnir/redis,spearhead-ea/redis,splitice/redis,splitice/redis,jxwr/redis,ttuna/msot-redis,xuzhezhaozhao/redis_reading,darksideofthemoo/redis-histogram,louisliangjun/redis,xuzhezhaozhao/redis_reading,MSOpenTech/redis,slfs007/mk-redis,ksarch-saas/redis,ramonsnir/redis,MSOpenTech/redis,himoca/redis,splitice/redis,xuzhezhaozhao/redis_reading,louisliangjun/redis,jxwr/redis,splitice/redis,ttuna/msot-redis,MSOpenTech/redis,darksideofthemoo/redis-histogram,ksarch-saas/redis,HunanTV/redis,ksarch-saas/redis,MSOpenTech/redis,ttuna/msot-redis,HunanTV/redis,slfs007/mk-redis,ttuna/msot-redis,spearhead-ea/redis,HunanTV/redis,maodeyi/redis_lua,ksarch-saas/redis,spearhead-ea/redis,slfs007/mk-redis,maodeyi/redis_lua,ttuna/msot-redis,MSOpenTech/redis,jxwr/redis,maodeyi/redis_lua,darksideofthemoo/redis-histogram,louisliangjun/redis,ramonsnir/redis