summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-13 14:40:04 +0200
committerAnatol Belski <ab@php.net>2016-10-13 14:40:37 +0200
commit19605950fcbe6423384ed5d72a6604018c775fbc (patch)
treea19333710d29f6100b6fb45b5c4cd74ff9b80085
parentfa451241382397a42322d523f42b1db5f00f7981 (diff)
downloadphp-git-19605950fcbe6423384ed5d72a6604018c775fbc.tar.gz
add missing header for gd_error
-rw-r--r--ext/gd/libgd/gd_security.c1
-rw-r--r--ext/gd/libgd/gd_wbmp.c1
-rw-r--r--ext/gd/libgd/gd_xbm.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd_security.c b/ext/gd/libgd/gd_security.c
index 2160a3685a..3813707ade 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 7a80d65c03..7b946aad2f 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 68350d798a..be3cce73b4 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"