diff options
author | Brent Cook <bcook@openbsd.org> | 2014-10-29 15:44:36 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-10-30 19:15:11 -0500 |
commit | a4cc953911a745d6e769a03cbe6442ee2fc27cbd (patch) | |
tree | 8c26006db95beb6249b755e108ee1aa317e742bd /include/stdio.h | |
parent | 727bccd093eaeac853ac84c7b6f31e67e452cde9 (diff) | |
download | portable-a4cc953911a745d6e769a03cbe6442ee2fc27cbd.tar.gz portable-a4cc953911a745d6e769a03cbe6442ee2fc27cbd.tar.bz2 portable-a4cc953911a745d6e769a03cbe6442ee2fc27cbd.zip |
Improve and simplify function and header detection logic.
Simplify autoconf checks by using AC_CHECK_FUNCS/HEADERS.
Clarify some ambiguous dependencies around strnlen/strndup.
Unconditionally enable pidwraptest for all arc4random implementations.
Remove HAVE_VASPRINTF conditional, since asprintf requires vasprintf.
ok @doug
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index fffa170..4a40f6a 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
@@ -3,7 +3,7 @@ | |||
3 | #ifndef LIBCRYPTOCOMPAT_STDIO_H | 3 | #ifndef LIBCRYPTOCOMPAT_STDIO_H |
4 | #define LIBCRYPTOCOMPAT_STDIO_H | 4 | #define LIBCRYPTOCOMPAT_STDIO_H |
5 | 5 | ||
6 | #ifdef NO_ASPRINTF | 6 | #ifndef HAVE_ASPRINTF |
7 | #include <stdarg.h> | 7 | #include <stdarg.h> |
8 | int vasprintf(char **str, const char *fmt, va_list ap); | 8 | int vasprintf(char **str, const char *fmt, va_list ap); |
9 | int asprintf(char **str, const char *fmt, ...); | 9 | int asprintf(char **str, const char *fmt, ...); |