From af879445852f7ff23118138f6c51e71fd4619798 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Thu, 27 Jul 2017 20:17:25 -0700 Subject: [PATCH] PR #336: fix to previous change, be sure to include string.h when we're using the real strerror. --- strerror_override.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/strerror_override.h b/strerror_override.h index 9b8d70aa43..15d8320bad 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