diff options
author | Damien Miller <djm@mindrot.org> | 2000-03-03 22:48:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-03-03 22:48:49 +1100 |
commit | 00d4bb117a7dee724636d970de7287cb183ad3b3 (patch) | |
tree | b6e55fc6189af23a9361cc464b8ac13c594c6568 /bsd-snprintf.h | |
parent | 3c7eeb2af5e97c074ea1ba29f1ebe7a2d710ea48 (diff) |
- DEC Unix compile fix from David Del Piero <David.DelPiero@qed.qld.gov.au>
- Manpage fix from David Del Piero <David.DelPiero@qed.qld.gov.au>
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 d4f83aac..2360f7bf 100644 --- a/bsd-snprintf.h +++ b/bsd-snprintf.h @@ -4,13 +4,14 @@ #include "config.h" #include <sys/types.h> /* For size_t */ +#include <varargs.h> /* For va_list */ #ifndef HAVE_SNPRINTF int snprintf(char *str, size_t n, char const *fmt, ...); #endif /* !HAVE_SNPRINTF */ #ifndef HAVE_VSNPRINTF -int vsnprintf(char *str, size_t n, char *fmt, char *ap); +int vsnprintf(char *str, size_t n, char *fmt, va_list *ap); #endif /* !HAVE_SNPRINTF */ |