From: Eric Haszlakiewicz Date: Fri, 28 Jul 2017 03:17:25 +0000 (-0700) Subject: PR #336: fix to previous change, be sure to include string.h when we're using the... X-Git-Tag: json-c-0.13-20171207~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af879445852f7ff23118138f6c51e71fd4619798;p=thirdparty%2Fjson-c.git PR #336: fix to previous change, be sure to include string.h when we're using the real strerror. --- diff --git a/strerror_override.h b/strerror_override.h index 9b8d70aa..15d8320b 100644 --- a/strerror_override.h +++ b/strerror_override.h @@ -14,6 +14,8 @@ JSON_EXPORT char *_json_c_strerror(int errno_in); #ifndef STRERROR_OVERRIDE_IMPL #define strerror _json_c_strerror +#else +#include #endif #ifdef __cplusplus