diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2020-02-27 15:12:45 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2020-02-27 15:26:56 +0300 |
commit | a5dc8f8af433eecc6d169d810405611f96ab8ac9 (patch) | |
tree | 66f997522e296f73264cc9104d8fe79cf85b05eb /include/sysinc.h | |
parent | 5dc7474442a095b1f317fa17fe288d1a8eb2cb4a (diff) |
.......PS. [ZBX-16926] fix INT_MAX error when compiling on SunOS/Joyent/Solaris
(cherry picked from commit 9c51c38c4b276a5072c29e89ef536f6a00f4402e)
(cherry picked from commit 4354c28c8baaa9f2478adad4ecdf0b28f9c4e67c)
Diffstat (limited to 'include/sysinc.h')
-rw-r--r-- | include/sysinc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysinc.h b/include/sysinc.h index 36c3f633661..f26c7c42e12 100644 --- a/include/sysinc.h +++ b/include/sysinc.h @@ -424,4 +424,8 @@ # include <stddef.h> #endif +#ifdef HAVE_LIMITS_H +# include <limits.h> +#endif + #endif |