This results in a lot of places where limits.h was missing, so this diff is larger than necessary.
This reverts commit be7d8cfaf1. This commit missed some previous copyrights mentioned, in general I think its better to have this per-file to follow who wrote what and when.
be7d8cfaf1