diff options
Diffstat (limited to 'bsd-snprintf.h')
-rw-r--r-- | bsd-snprintf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bsd-snprintf.h b/bsd-snprintf.h index d4f83aac9..2360f7bf1 100644 --- a/bsd-snprintf.h +++ b/bsd-snprintf.h | |||
@@ -4,13 +4,14 @@ | |||
4 | #include "config.h" | 4 | #include "config.h" |
5 | 5 | ||
6 | #include <sys/types.h> /* For size_t */ | 6 | #include <sys/types.h> /* For size_t */ |
7 | #include <varargs.h> /* For va_list */ | ||
7 | 8 | ||
8 | #ifndef HAVE_SNPRINTF | 9 | #ifndef HAVE_SNPRINTF |
9 | int snprintf(char *str, size_t n, char const *fmt, ...); | 10 | int snprintf(char *str, size_t n, char const *fmt, ...); |
10 | #endif /* !HAVE_SNPRINTF */ | 11 | #endif /* !HAVE_SNPRINTF */ |
11 | 12 | ||
12 | #ifndef HAVE_VSNPRINTF | 13 | #ifndef HAVE_VSNPRINTF |
13 | int vsnprintf(char *str, size_t n, char *fmt, char *ap); | 14 | int vsnprintf(char *str, size_t n, char *fmt, va_list *ap); |
14 | #endif /* !HAVE_SNPRINTF */ | 15 | #endif /* !HAVE_SNPRINTF */ |
15 | 16 | ||
16 | 17 | ||