1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2017-02-21 21:57:06 +01:00
parent 3a25773772
commit bfd30590f6
3 changed files with 6 additions and 10 deletions

View File

@@ -487,6 +487,9 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
# 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.