• antirez's avatar
    Added time.h include in redis-cli. · 05ad0349
    antirez authored
    redis-cli.c uses the time() function to seed the PRNG, but time.h was
    not included. This was not noticed since sys/time.h is included and was
    enough in most systems (but not correct). With Ubuntu 12.04 GCC
    generates a warning that made us aware of the issue.
    05ad0349
redis-cli.c 36.6 KB