summaryrefslogtreecommitdiff
path: root/src/lib/openjpip/byte_manager.h
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/byte_manager.h
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/byte_manager.h')
-rw-r--r--src/lib/openjpip/byte_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjpip/byte_manager.h b/src/lib/openjpip/byte_manager.h
index 57a7d501..02c806e0 100644
--- a/src/lib/openjpip/byte_manager.h
+++ b/src/lib/openjpip/byte_manager.h
@@ -32,8 +32,8 @@
#define BYTE_MANAGER_H_
#include <stddef.h>
+#include <stdint.h>
#include "openjpeg.h"
-#include "opj_stdint.h"
typedef uint8_t Byte_t;
typedef uint16_t Byte2_t;
typedef uint32_t Byte4_t;