mirror of
https://github.com/json-c/json-c.git
synced 2026-04-10 15:59:07 +08:00
PR #336: fix to previous change, be sure to include string.h when we're using the real strerror.
This commit is contained in:
@@ -14,6 +14,8 @@ JSON_EXPORT char *_json_c_strerror(int errno_in);
|
|||||||
|
|
||||||
#ifndef STRERROR_OVERRIDE_IMPL
|
#ifndef STRERROR_OVERRIDE_IMPL
|
||||||
#define strerror _json_c_strerror
|
#define strerror _json_c_strerror
|
||||||
|
#else
|
||||||
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user