missing include <limits>

Introduced in e6996e11