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 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 | ||