Sam James
be19763532
openbsd-compat/bsd-asprintf: add <stdio.h> include for vsnprintf
Fixes the following build failure with Clang 15 on musl:
```
bsd-asprintf.c:51:8: error: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'; ISO C99 and laterclang -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -ftrapv -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/misc/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/lib/misc/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c cipher-aes.c -o cipher-aes.o
do not support
implicit function declarations [-Wimplicit-function-declaration]
ret = vsnprintf(string, INIT_SZ, fmt, ap2);
^
bsd-asprintf.c:51:8: note: include the header <stdio.h> or explicitly provide a declaration for 'vsnprintf'
1 error generated.
```
2022-09-08 12:04:00 +10:00
..
2021-08-11 09:21:09 +10:00
2022-09-02 14:30:38 +10:00
2022-09-02 16:43:27 +10:00
2022-09-02 14:30:38 +10:00
2021-12-22 09:02:50 +11:00
2021-12-22 09:02:50 +11:00
2021-09-29 20:03:58 +10:00
2021-11-29 12:30:22 +11:00
2021-11-29 12:30:22 +11:00
2022-09-08 12:04:00 +10:00
2021-12-22 09:02:50 +11:00
2022-01-21 09:53:07 +11:00
2022-08-10 17:36:44 +10:00
2021-11-06 21:09:48 +11:00
2022-07-03 22:53:44 +10:00
2022-02-25 15:14:22 +11:00
2022-02-14 14:19:40 +11:00
2022-04-01 23:38:44 +11:00
2022-02-22 12:25:52 +11:00
2021-09-08 18:39:44 +10:00
2021-04-03 17:47:37 +11:00
2021-12-22 09:02:50 +11:00
2022-08-11 22:51:10 +10:00
2021-04-03 17:47:37 +11:00
2022-03-01 09:02:06 +11:00
2021-12-22 09:02:50 +11:00
2021-02-05 17:07:03 +11:00
2022-03-11 18:43:58 +11:00
2020-03-13 14:30:16 +11:00
2022-07-14 11:22:08 +10:00
2021-04-03 17:47:37 +11:00
2022-02-25 19:47:48 +11:00
2020-04-21 18:28:19 +10:00
2021-12-22 09:02:50 +11:00
2021-12-22 09:02:50 +11:00
2021-04-03 17:47:37 +11:00
2022-08-11 22:51:10 +10:00
2021-04-24 17:52:24 +10:00
2020-10-27 16:50:38 +11:00
2022-09-02 14:30:38 +10:00
2022-07-25 21:49:04 +10:00
2021-06-17 21:03:19 +10:00
2020-11-13 13:46:28 +11:00
2021-04-03 17:47:37 +11:00
2021-07-02 15:20:32 +10:00
2021-12-22 09:02:50 +11:00
2021-04-03 17:47:37 +11:00
2021-07-27 17:45:34 +10:00
2021-04-03 17:47:37 +11:00
2021-04-03 17:47:37 +11:00
2020-08-04 14:58:46 +10:00
2021-12-22 09:02:50 +11:00