Added #include <limits> to files that were missing it.