]> granicus.if.org Git - php/commitdiff
This patch allows cpdf to be compiled in conjunction with ncurses, which was
authorIlia Alshanetsky <iliaa@php.net>
Wed, 15 Jan 2003 00:52:06 +0000 (00:52 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 15 Jan 2003 00:52:06 +0000 (00:52 +0000)
not possible before due to conflicting defines.

ext/cpdf/cpdf.c
ext/cpdf/php_cpdf.h

index 4bb9847d399be2d734d336e1639b7b02f12401ba..99edcacdaa8278d2e16cd6e0d5065776d505847a 100644 (file)
@@ -45,6 +45,8 @@
 # endif
 #endif
 
+#include <cpdflib.h>
+
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
index 45dda34f7d0a4d1098755697f5a539ff5909ddb0..1207511e60a40095b328c72d171fd21b08b1bfdd 100644 (file)
@@ -29,8 +29,6 @@
 #undef T
 #endif
 
-#include <cpdflib.h>
-
 extern zend_module_entry cpdf_module_entry;
 #define cpdf_module_ptr &cpdf_module_entry