diff --git a/src/match.c b/src/match.c index f4ace268..2c004c98 100644 --- a/src/match.c +++ b/src/match.c @@ -46,6 +46,11 @@ #include #endif +/* for systems without IPv6 support matching should still work */ +#ifndef INET6_ADDRSTRLEN +#define INET6_ADDRSTRLEN 46 +#endif + #include "libssh/priv.h" #define MAX_MATCH_RECURSION 16