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 #include "examples_common.h" +#ifdef _WIN32 +#define strncasecmp _strnicmp +#endif + int verify_knownhost(ssh_session session){ char *hexa; int state;