diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-07-12 23:10:33 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-07-12 23:10:33 +1000 |
commit | 5998ed03aadef4c9681e90b669ddd1c5d7a9247b (patch) | |
tree | 573bcf359b32d53d18b89af1f95f58367396b93a | |
parent | deecec98c76efc3022658e8233ac6536849372e4 (diff) |
- (dtucker) [openbsd-compat/openbsd-compat.h] v*printf needs stdarg.h.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -60,6 +60,7 @@ | |||
60 | openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>. | 60 | openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>. |
61 | - (dtucker) [openbsd-compat/setproctitle.c] Include stdarg.h. | 61 | - (dtucker) [openbsd-compat/setproctitle.c] Include stdarg.h. |
62 | - (dtucker) [ssh-keyscan.c ssh-rand-helper.c] More errno.h here too. | 62 | - (dtucker) [ssh-keyscan.c ssh-rand-helper.c] More errno.h here too. |
63 | - (dtucker) [openbsd-compat/openbsd-compat.h] v*printf needs stdarg.h. | ||
63 | 64 | ||
64 | 20060711 | 65 | 20060711 |
65 | - (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c | 66 | - (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c |
@@ -4909,4 +4910,4 @@ | |||
4909 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 4910 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
4910 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 4911 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
4911 | 4912 | ||
4912 | $Id: ChangeLog,v 1.4404 2006/07/12 12:44:34 dtucker Exp $ | 4913 | $Id: ChangeLog,v 1.4405 2006/07/12 13:10:33 dtucker Exp $ |
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 8b885178c..18249d81e 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.39 2006/07/10 14:20:52 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.40 2006/07/12 13:10:34 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -168,6 +168,10 @@ long long strtoll(const char *, char **, int); | |||
168 | long long strtonum(const char *, long long, long long, const char **); | 168 | long long strtonum(const char *, long long, long long, const char **); |
169 | #endif | 169 | #endif |
170 | 170 | ||
171 | #if !defined(HAVE_VASPRINTF) || !defined(HAVE_VSNPRINTF) | ||
172 | # include <stdarg.h> | ||
173 | #endif | ||
174 | |||
171 | #ifndef HAVE_VASPRINTF | 175 | #ifndef HAVE_VASPRINTF |
172 | int vasprintf(char **, const char *, va_list); | 176 | int vasprintf(char **, const char *, va_list); |
173 | #endif | 177 | #endif |