aboutsummaryrefslogtreecommitdiff
path: root/include/compat/stdio.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2023-12-12 08:19:39 +0100
committerTheo Buehler <tb@openbsd.org>2023-12-12 08:19:52 +0100
commitf7bed14f22b70198b4ec56af6d489f69b3df805a (patch)
tree72c325e78e9636222920bf0a0259092d8a5861b7 /include/compat/stdio.h
parent2e88c74329938b5af441736645e795289660aa38 (diff)
parentc54bd8ba318dec4b4fbf4df1d92acbe2c032f3fd (diff)
downloadportable-f7bed14f22b70198b4ec56af6d489f69b3df805a.tar.gz
portable-f7bed14f22b70198b4ec56af6d489f69b3df805a.tar.bz2
portable-f7bed14f22b70198b4ec56af6d489f69b3df805a.zip
Land #961
Diffstat (limited to 'include/compat/stdio.h')
-rw-r--r--include/compat/stdio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat/stdio.h b/include/compat/stdio.h
index d5725c9..4ddd63a 100644
--- a/include/compat/stdio.h
+++ b/include/compat/stdio.h
@@ -20,7 +20,9 @@
20 20
21#ifndef HAVE_ASPRINTF 21#ifndef HAVE_ASPRINTF
22#include <stdarg.h> 22#include <stdarg.h>
23#define vasprintf libressl_vasprintf
23int vasprintf(char **str, const char *fmt, va_list ap); 24int vasprintf(char **str, const char *fmt, va_list ap);
25#define asprintf libressl_asprintf
24int asprintf(char **str, const char *fmt, ...); 26int asprintf(char **str, const char *fmt, ...);
25#endif 27#endif
26 28