Skip to content

Commit

Permalink
Bitstream: Use stddef instead of stdio
Browse files Browse the repository at this point in the history
stddef.h is available for wasm while stdio.h is not available.

See bitcoin-core/secp256k1#1149
See bitcoin-core/secp256k1#1148
  • Loading branch information
uncomputable authored and roconnor-blockstream committed Dec 2, 2023
1 parent 6108c98 commit 9a4adf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef SIMPLICITY_BITSTREAM_H
#define SIMPLICITY_BITSTREAM_H

#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <simplicity/errorCodes.h>
Expand Down

0 comments on commit 9a4adf7

Please sign in to comment.