--- src/hls.cc 2024-02-21 22:37:55.000000000 +0800 +++ src/hls.cc 2024-05-12 08:03:46.000000000 +0800 @@ -23,6 +23,11 @@ #include #include +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include + #include "utils.hh" #include "mpegts.hh" #include "sfinputstream.hh" --- src/hlsoutputstream.cc 2024-02-21 22:37:55.000000000 +0800 +++ src/hlsoutputstream.cc 2024-05-12 08:11:57.000000000 +0800 @@ -15,6 +15,11 @@ * along with this program. If not, see . */ +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include + #include "hlsoutputstream.hh" #undef av_err2str --- src/testhls.cc 2024-02-21 22:37:55.000000000 +0800 +++ src/testhls.cc 2024-05-12 08:18:43.000000000 +0800 @@ -20,6 +20,11 @@ #include +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include + #include "utils.hh" #include "mpegts.hh" #include "wavdata.hh" --- src/testrandom.cc 2024-02-21 22:37:55.000000000 +0800 +++ src/testrandom.cc 2024-05-12 08:14:08.000000000 +0800 @@ -18,7 +18,10 @@ #include "utils.hh" #include "random.hh" -#include +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include using std::vector; using std::string;