summaryrefslogtreecommitdiff
path: root/src/lib/openjpip/dec_clientmsg_handler.c
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2023-09-24 13:54:28 +0200
committermayeut <mayeut@users.noreply.github.com>2023-09-24 13:54:28 +0200
commitc4b3a91ede1d0301f7f5f50287c0bda35aa7ca7e (patch)
treed89bda6caa4af5440b6d3144498748dba527a568 /src/lib/openjpip/dec_clientmsg_handler.c
parent6af39314bdb43cb9c7adcdbc7aa9381af42b52ba (diff)
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.
Diffstat (limited to 'src/lib/openjpip/dec_clientmsg_handler.c')
-rw-r--r--src/lib/openjpip/dec_clientmsg_handler.c2
1 files changed, 1 insertions, 1 deletions
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 <string.h>
#include <assert.h>
#include <limits.h>
+#include <inttypes.h>
#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)