diff --git a/src/ocispec/json_common.h b/src/ocispec/json_common.h index e2597587..11f4a76b 100644 --- a/src/ocispec/json_common.h +++ b/src/ocispec/json_common.h @@ -15,6 +15,15 @@ extern "C" { #undef linux +#ifdef __MUSL__ +#undef stdin +#undef stdout +#undef stderr +#define stdin stdin +#define stdout stdout +#define stderr stderr +#endif + // options to report error if there is unknown key found in json #define OPT_PARSE_STRICT 0x01 // options to generate all key and value