Skip to content

Commit

Permalink
ImfDeepTiledInputFile.h: add missing <cstdint>
Browse files Browse the repository at this point in the history
Without the change build fails on this week's gcc-13 as:

    [ 23%] Building CXX object src/lib/OpenEXR/CMakeFiles/OpenEXR.dir/ImfDeepTiledOutputPart.cpp.o
    In file included from openexr/src/lib/OpenEXR/ImfDeepTiledInputFile.cpp:12:
    openexr/src/lib/OpenEXR/ImfDeepTiledInputFile.h:341:62: error: 'uint64_t' has not been declared
      341 |         int& dx, int& dy, int& lx, int& ly, char* pixelData, uint64_t& dataSize)
          |                                                              ^~~~~~~~

Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
trofi committed May 23, 2022
1 parent 5a8a933 commit 3414418
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/OpenEXR/ImfDeepTiledInputFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include "ImfTileDescription.h"

#include <cstdint>
#include <ImathBox.h>

OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Expand Down

0 comments on commit 3414418

Please sign in to comment.