]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
PR #336: fix to previous change, be sure to include string.h when we're using the...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Fri, 28 Jul 2017 03:17:25 +0000 (20:17 -0700)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Fri, 28 Jul 2017 03:17:25 +0000 (20:17 -0700)
strerror_override.h

index 9b8d70aa43b2eb2f84e28eb3a9fa7f9323e3529b..15d8320badae5ac2621b7c614fd8dba846251eea 100644 (file)
@@ -14,6 +14,8 @@ JSON_EXPORT char *_json_c_strerror(int errno_in);
 
 #ifndef STRERROR_OVERRIDE_IMPL
 #define strerror       _json_c_strerror
+#else
+#include <string.h>
 #endif
 
 #ifdef __cplusplus