summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-01-28 13:46:34 +0100
committerAnatol Belski <ab@php.net>2016-01-28 13:46:34 +0100
commit686a17893a56a500a3a6a4fd721e8ca29412f6dc (patch)
tree3f33e6276e391cf18f2cf48c85e36017d44c1672
parentf4d7bbf4ace4ea21c8f95c2d1177bd56a21b86b9 (diff)
downloadphp-git-686a17893a56a500a3a6a4fd721e8ca29412f6dc.tar.gz
add missing headers for SIZE_MAX
-rw-r--r--ext/standard/iptc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c
index 6f8aa5dc3e..41a924b4b2 100644
--- a/ext/standard/iptc.c
+++ b/ext/standard/iptc.c
@@ -38,6 +38,15 @@
#include <sys/stat.h>
+#ifdef PHP_WIN32
+# include "win32/php_stdint.h"
+#else
+# if HAVE_INTTYPES_H
+# include <inttypes.h>
+# elif HAVE_STDINT_H
+# include <stdint.h>
+# endif
+#endif
/* some defines for the different JPEG block types */
#define M_SOF0 0xC0 /* Start Of Frame N */