com php-src: add missing header for gd_error: ext/gd/libg d/gd_security.c ext/gd/libgd/gd_wbmp.c ext/gd/libgd /gd_xbm.c
| From: | Anatol Belski | Date: | Thu, 13 Oct 2016 12:40:37 +0000 |
| Subject: | com php-src: add missing header for gd_error: ext/gd/libg d/gd_security.c ext/gd/libgd/gd_wbmp.c ext/gd/libgd /gd_xbm.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95023@lists.php.net to get a copy of this message | ||
Commit: 19605950fcbe6423384ed5d72a6604018c775fbc
Author: Anatol Belski <ab@php.net> Thu, 13 Oct 2016 14:40:04 +0200
Parents: fa451241382397a42322d523f42b1db5f00f7981
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=19605950fcbe6423384ed5d72a6604018c775fbc
Log:
add missing header for gd_error
Changed paths:
M ext/gd/libgd/gd_security.c
M ext/gd/libgd/gd_wbmp.c
M ext/gd/libgd/gd_xbm.c
Diff:
diff --git a/ext/gd/libgd/gd_security.c b/ext/gd/libgd/gd_security.c
index 2160a36..3813707 100644
--- a/ext/gd/libgd/gd_security.c
+++ b/ext/gd/libgd/gd_security.c
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <limits.h>
#include "gd.h"
+#include "gd_errors.h"
int overflow2(int a, int b)
{
diff --git a/ext/gd/libgd/gd_wbmp.c b/ext/gd/libgd/gd_wbmp.c
index 7a80d65..7b946aa 100644
--- a/ext/gd/libgd/gd_wbmp.c
+++ b/ext/gd/libgd/gd_wbmp.c
@@ -53,6 +53,7 @@
#include <gd.h>
#include <gdfonts.h>
+#include <gd_errors.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/ext/gd/libgd/gd_xbm.c b/ext/gd/libgd/gd_xbm.c
index 68350d7..be3cce7 100644
--- a/ext/gd/libgd/gd_xbm.c
+++ b/ext/gd/libgd/gd_xbm.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include "gd.h"
#include "gdhelpers.h"
+#include "gd_errors.h"
#include "php.h"