com php-src: add missing headers for SIZE_MAX: ext/standa rd/iptc.c
| From: | Stanislav Malyshev | Date: | Thu, 28 Jan 2016 12:46:34 +0000 |
| Subject: | com php-src: add missing headers for SIZE_MAX: ext/standa rd/iptc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90862@lists.php.net to get a copy of this message | ||
Commit: 686a17893a56a500a3a6a4fd721e8ca29412f6dc
Author: Anatol Belski <ab@php.net> Thu, 28 Jan 2016 13:46:34 +0100
Parents: f4d7bbf4ace4ea21c8f95c2d1177bd56a21b86b9
Branches: PHP-5.5 PHP-5.5.32
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=686a17893a56a500a3a6a4fd721e8ca29412f6dc
Log:
add missing headers for SIZE_MAX
Changed paths:
M ext/standard/iptc.c
Diff:
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c
index 6f8aa5d..41a924b 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 */