diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 367bc350cd..53f2a42199 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