mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 07:29: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
|
||||
#define strerror _json_c_strerror
|
||||
#else
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user