Browse Source

PR #336: fix to previous change, be sure to include string.h when we're using the real strerror.

tags/json-c-0.13-20171207
Eric Haszlakiewicz 8 years ago
parent
commit
af87944585
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      strerror_override.h

+ 2
- 0
strerror_override.h View 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


Loading…
Cancel
Save