diff options
Diffstat (limited to 'openbsd-compat/bsd-asprintf.c')
-rw-r--r-- | openbsd-compat/bsd-asprintf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-asprintf.c b/openbsd-compat/bsd-asprintf.c index 5ca01f80f..1178296f8 100644 --- a/openbsd-compat/bsd-asprintf.c +++ b/openbsd-compat/bsd-asprintf.c | |||
@@ -21,6 +21,9 @@ | |||
21 | 21 | ||
22 | #ifndef HAVE_VASPRINTF | 22 | #ifndef HAVE_VASPRINTF |
23 | 23 | ||
24 | #include <errno.h> | ||
25 | #include <stdarg.h> | ||
26 | |||
24 | #ifndef VA_COPY | 27 | #ifndef VA_COPY |
25 | # ifdef HAVE_VA_COPY | 28 | # ifdef HAVE_VA_COPY |
26 | # define VA_COPY(dest, src) va_copy(dest, src) | 29 | # define VA_COPY(dest, src) va_copy(dest, src) |