Skip to content

Commit

Permalink
Add explicit #include <limits> for numeric_limits
Browse files Browse the repository at this point in the history
GCC 11.0 seems to miss the include and fails on std::numeric_limits.

Signed-off-by: Cary Phillips <cary@ilm.com>
  • Loading branch information
cary-ilm committed Jan 2, 2021
1 parent 1899a45 commit a40a615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions OpenEXR/IlmImf/ImfDwaCompressor.cpp
Expand Up @@ -156,6 +156,7 @@
#include <cctype>
#include <cassert>
#include <algorithm>
#include <limits>

#include <cstddef>

Expand Down
1 change: 1 addition & 0 deletions OpenEXR/IlmImf/ImfTiledMisc.cpp
Expand Up @@ -45,6 +45,7 @@
#include <ImfChannelList.h>
#include <ImfTileDescription.h>
#include <algorithm>
#include <limits>

#include "ImfNamespace.h"

Expand Down

0 comments on commit a40a615

Please sign in to comment.