diff options
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index dda558ffe..fe0c36dcd 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.31 2005/09/29 23:55:50 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.32 2005/11/24 08:58:21 djm 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. |
@@ -142,6 +142,10 @@ unsigned int arc4random(void); | |||
142 | void arc4random_stir(void); | 142 | void arc4random_stir(void); |
143 | #endif /* !HAVE_ARC4RANDOM */ | 143 | #endif /* !HAVE_ARC4RANDOM */ |
144 | 144 | ||
145 | #ifndef HAVE_ASPRINTF | ||
146 | int asprintf(char **, const char *, ...); | ||
147 | #endif | ||
148 | |||
145 | #ifndef HAVE_OPENPTY | 149 | #ifndef HAVE_OPENPTY |
146 | int openpty(int *, int *, char *, struct termios *, struct winsize *); | 150 | int openpty(int *, int *, char *, struct termios *, struct winsize *); |
147 | #endif /* HAVE_OPENPTY */ | 151 | #endif /* HAVE_OPENPTY */ |
@@ -160,6 +164,10 @@ long long strtoll(const char *, char **, int); | |||
160 | long long strtonum(const char *, long long, long long, const char **); | 164 | long long strtonum(const char *, long long, long long, const char **); |
161 | #endif | 165 | #endif |
162 | 166 | ||
167 | #ifndef HAVE_VASPRINTF | ||
168 | int vasprintf(char **, const char *, va_list); | ||
169 | #endif | ||
170 | |||
163 | #ifndef HAVE_VSNPRINTF | 171 | #ifndef HAVE_VSNPRINTF |
164 | int vsnprintf(char *, size_t, const char *, va_list); | 172 | int vsnprintf(char *, size_t, const char *, va_list); |
165 | #endif | 173 | #endif |