Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Include config.h instead of php_config.h in gd_compat.c to have the c…
…onfigure variable available in outside-of-the-tree module build
  • Loading branch information
oerdnj committed Sep 7, 2015
1 parent aa352a3 commit 82c0156
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/gd/gd_compat.c
@@ -1,4 +1,6 @@
#include "php_config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifdef HAVE_GD_PNG
/* needs to be first */
Expand Down

0 comments on commit 82c0156

Please sign in to comment.