diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h index dade79aae0..80e53fe55e 100644 --- a/src/compat.h +++ b/src/compat.h @@ -84,4 +84,8 @@ typedef u_int SOCKET; #define THREAD_PRIORITY_ABOVE_NORMAL (-2) #endif +#if HAVE_DECL_STRNLEN == 0 +size_t strnlen( const char *start, size_t max_len); +#endif // HAVE_DECL_STRNLEN + #endif // BITCOIN_COMPAT_H |