diff options
Diffstat (limited to 'libasn1common/asn1_buffer.c')
-rw-r--r-- | libasn1common/asn1_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libasn1common/asn1_buffer.c b/libasn1common/asn1_buffer.c index 8cc4bc81..cd67b815 100644 --- a/libasn1common/asn1_buffer.c +++ b/libasn1common/asn1_buffer.c @@ -9,7 +9,7 @@ #include "asn1_buffer.h" -#ifndef HAVE_DECL_VASPRINTF +#if !defined(HAVE_DECL_VASPRINTF) || (HAVE_DECL_VASPRINTF == 0) int vasprintf(char **ret, const char *fmt, va_list args); #endif @@ -139,7 +139,7 @@ int abuf_vprintf(abuf *ab, const char *fmt, va_list ap) { return ret; } -#ifndef HAVE_DECL_VASPRINTF +#if !defined(HAVE_DECL_VASPRINTF) || (HAVE_DECL_VASPRINTF == 0) /* Solaris doesn't have vasprintf(3). */ int vasprintf(char **ret, const char *fmt, va_list args) { |