summaryrefslogtreecommitdiff
path: root/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/utilities/function.objects/unord.hash/integral.pass.cpp')
-rw-r--r--test/std/utilities/function.objects/unord.hash/integral.pass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/std/utilities/function.objects/unord.hash/integral.pass.cpp b/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
index d3db45fad7c08..c20f31ff2c996 100644
--- a/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
+++ b/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
@@ -21,6 +21,7 @@
#include <functional>
#include <cassert>
#include <type_traits>
+#include <cstddef>
#include <limits>
template <class T>
@@ -59,7 +60,7 @@ int main()
test<unsigned long long>();
// LWG #2119
- test<ptrdiff_t>();
+ test<std::ptrdiff_t>();
test<size_t>();
test<int8_t>();