summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/cpdf/cpdf.c2
-rw-r--r--ext/cpdf/php_cpdf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/cpdf/cpdf.c b/ext/cpdf/cpdf.c
index 4bb9847d39..99edcacdaa 100644
--- a/ext/cpdf/cpdf.c
+++ b/ext/cpdf/cpdf.c
@@ -45,6 +45,8 @@
# endif
#endif
+#include <cpdflib.h>
+
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
diff --git a/ext/cpdf/php_cpdf.h b/ext/cpdf/php_cpdf.h
index 45dda34f7d..1207511e60 100644
--- a/ext/cpdf/php_cpdf.h
+++ b/ext/cpdf/php_cpdf.h
@@ -29,8 +29,6 @@
#undef T
#endif
-#include <cpdflib.h>
-
extern zend_module_entry cpdf_module_entry;
#define cpdf_module_ptr &cpdf_module_entry