diff options
author | Theo Buehler <tb@openbsd.org> | 2023-11-18 10:53:09 +0100 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2023-12-11 17:14:07 +0100 |
commit | 0a446e81ed77c20aa87563d45ef0ef8f5fa283d8 (patch) | |
tree | fbd4104f19c292d5f65f33a2094efc10c2e58716 /include/compat/stdio.h | |
parent | 2e88c74329938b5af441736645e795289660aa38 (diff) | |
download | portable-0a446e81ed77c20aa87563d45ef0ef8f5fa283d8.tar.gz portable-0a446e81ed77c20aa87563d45ef0ef8f5fa283d8.tar.bz2 portable-0a446e81ed77c20aa87563d45ef0ef8f5fa283d8.zip |
Prefix some compat symbols with libressl_
See #928. This isn't a full fix, but should remove much of the friction
already.
Diffstat (limited to 'include/compat/stdio.h')
-rw-r--r-- | include/compat/stdio.h | 2 |
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 | ||
23 | int vasprintf(char **str, const char *fmt, va_list ap); | 24 | int vasprintf(char **str, const char *fmt, va_list ap); |
25 | #define asprintf libressl_asprintf | ||
24 | int asprintf(char **str, const char *fmt, ...); | 26 | int asprintf(char **str, const char *fmt, ...); |
25 | #endif | 27 | #endif |
26 | 28 | ||