diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 38e7f9ee5b..6b533dd23f 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -22,6 +22,10 @@ * Silence compiler warnings about using strcpy and friends. */ #define _CRT_SECURE_NO_DEPRECATE 1 +/* + * We use snprintf. + */ +#define snprintf _snprintf #endif #include