Add <cstddef> for use of std::ptrdiff_t.