Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The header `stdio.h` is only needed to get access to `fprintf` used in code ifdef guarded by `USE_EXTERNAL_DEFAULT_CALLBACKS`, we can therefore guard the include statement in the same manner. The reason for doing this as that wasm builds in downstream user code have to patch in an empty `stdio.h` file in order to build because of this unconditional include. ref: https://github.com/rust-bitcoin/rust-secp256k1/blob/master/secp256k1-sys/depend/secp256k1.c.patch Fix: bitcoin-core#1095
- Loading branch information