summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/gd_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/gd_compat.c b/ext/gd/gd_compat.c
index d6531f67f6..44a4910d2d 100644
--- a/ext/gd/gd_compat.c
+++ b/ext/gd/gd_compat.c
@@ -1,7 +1,7 @@
-#include "php_config.h"
-
#ifdef HAVE_CONFIG_H
#include "config.h"
+#else
+#include "php_config.h"
#endif
#ifdef HAVE_GD_PNG