Skip to content

Commit

Permalink
PR json-c#336: fix to previous change, be sure to include string.h wh…
Browse files Browse the repository at this point in the history
…en we're using the real strerror.
  • Loading branch information
hawicz committed Jul 28, 2017
1 parent 36dbe2d commit af87944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions strerror_override.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af87944

Please sign in to comment.