diff options
author | Matt Stancliff <matt@genges.com> | 2014-04-04 15:21:04 -0400 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-11-14 17:08:39 +0100 |
commit | a9900ad38edbae0d26d51068888017e556cdc5b2 (patch) | |
tree | 4b6889f0dd922c25406d28f3cd3daa235d625cec | |
parent | 4fdcd213f026b55baccc0a99a15564092582a90e (diff) | |
download | redis-a9900ad38edbae0d26d51068888017e556cdc5b2.tar.gz |
Lua: Use Redis solaris compatability for cjson too
cjson calls isinf, but some Solaris versions don't have isinf
even with the attempted fix we have in deps/Makefile.
We can harmlessly include the Redis solarisfixes.h header to
give cjson proper isinf.
Note: cjson has a compile-time setting for using their own defined
isinf, but the Redis definition in solarisfixes.h is more complete.
Fixes antirez#1620
-rw-r--r-- | deps/lua/src/lua_cjson.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/lua/src/lua_cjson.c b/deps/lua/src/lua_cjson.c index f91b7e38a..98498fd3f 100644 --- a/deps/lua/src/lua_cjson.c +++ b/deps/lua/src/lua_cjson.c @@ -46,6 +46,8 @@ #include "strbuf.h" #include "fpconv.h" +#include "../../../src/solarisfixes.h" + #ifndef CJSON_MODNAME #define CJSON_MODNAME "cjson" #endif |