INT_MAX' was not declared in this scope

#include <iostream>
#include <climits>

int main() {
    int maxInt = INT_MAX;
    std::cout << "The maximum integer value is: " << maxInt << std::endl;
    return 0;
}