diff options
-rw-r--r-- | examples/knownhosts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/knownhosts.c b/examples/knownhosts.c index 53d75627..2797c3f2 100644 --- a/examples/knownhosts.c +++ b/examples/knownhosts.c @@ -25,6 +25,10 @@ clients must be made or how a client should react. #include <libssh/libssh.h> #include "examples_common.h" +#ifdef _WIN32 +#define strncasecmp _strnicmp +#endif + int verify_knownhost(ssh_session session){ char *hexa; int state; |