diff options
Diffstat (limited to 'src/util/support/errors.c')
| -rw-r--r-- | src/util/support/errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/support/errors.c b/src/util/support/errors.c index 17f412726..67ddf625c 100644 --- a/src/util/support/errors.c +++ b/src/util/support/errors.c @@ -10,6 +10,12 @@ #include "k5-thread.h" #include "k5-platform.h" +#ifdef _WIN32 +#ifndef vsnprintf +#define vsnprintf _vsnprintf +#endif +#endif + /* It would be nice to just use error_message() always. Pity that it's defined in a library that depends on this one, and we're not allowed to make circular dependencies. */ |
