patch 8.0.0346: Vim relies on limits.h to be included indirectly
Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9
it may not be. (Ben Fritz)
Solution: Always include limits.h.
diff --git a/src/vim.h b/src/vim.h
index 8636c56..b1faf23 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -487,6 +487,9 @@
# include <errno.h>
#endif
+/* for INT_MAX et al. */
+#include <limits.h>
+
/*
* Allow other (non-unix) systems to configure themselves now
* These are also in os_unix.h, because osdef.sh needs them there.