From c4b3a91ede1d0301f7f5f50287c0bda35aa7ca7e Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 24 Sep 2023 13:54:28 +0200 Subject: Require `stdint.h` & `inttypes.h` With #1450 which goes with 480cc9d49775d018c19ce0e01f6be27858d63d39 "Remove support for non-C99 compilers (like VS2010) that don't support snprintf()", support for MSVC versions prior to vs2015 is dropped: https://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010 This means that all supported MSVC versions do have `stdint.h` & `inttypes.h` now. For non windows platforms, those headers were already mandatory. Make them mandatory for all builds. --- src/lib/openjpip/dec_clientmsg_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/openjpip/dec_clientmsg_handler.c') diff --git a/src/lib/openjpip/dec_clientmsg_handler.c b/src/lib/openjpip/dec_clientmsg_handler.c index c257255a..07d51630 100644 --- a/src/lib/openjpip/dec_clientmsg_handler.c +++ b/src/lib/openjpip/dec_clientmsg_handler.c @@ -33,11 +33,11 @@ #include #include #include +#include #include "dec_clientmsg_handler.h" #include "ihdrbox_manager.h" #include "jpipstream_manager.h" #include "jp2k_encoder.h" -#include "opj_inttypes.h" void handle_JPIPstreamMSG(SOCKET connected_socket, cachelist_param_t *cachelist, Byte_t **jpipstream, OPJ_SIZE_T *streamlen, msgqueue_param_t *msgqueue) -- cgit v1.2.3