summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 86f1aa36c3..1a7b5b9d7c 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -140,6 +140,10 @@ typedef unsigned int zend_uint;
typedef unsigned long zend_ulong;
typedef unsigned short zend_ushort;
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
+
#ifndef LONG_MAX
#define LONG_MAX 2147483647L
#endif