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
This commit is contained in:
Matt Stancliff 2014-04-04 15:21:04 -04:00 committed by antirez
parent 4fdcd213f0
commit a9900ad38e

View File

@ -46,6 +46,8 @@
#include "strbuf.h"
#include "fpconv.h"
#include "../../../src/solarisfixes.h"
#ifndef CJSON_MODNAME
#define CJSON_MODNAME "cjson"
#endif