Problem: Build error with non-Unix system.
Solution: Always include limits.h.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2909,
/**/
2908,
/**/
# endif
# endif
-// for INT_MAX, LONG_MAX et al.
-# include <limits.h>
-
/*
* Cygwin may have fchdir() in a newer release, but in most versions it
* doesn't work well and avoiding it keeps the binary backward compatible.
# define UINT32_TYPEDEF uint32_t
#endif
+// for INT_MAX, LONG_MAX et al.
+#include <limits.h>
+
#if !defined(UINT32_TYPEDEF)
# if defined(uint32_t) // this doesn't catch typedefs, unfortunately
# define UINT32_TYPEDEF uint32_t