diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-15 00:52:06 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-15 00:52:06 +0000 |
| commit | a63b47cae070ccd8a59e06cd3e40dc054ab24551 (patch) | |
| tree | cbdb219885f3e0409e252a0dc97529c0288961d6 /ext | |
| parent | c073b76aac82e3c00ad56119bd8e509f9f2a4670 (diff) | |
| download | php-git-a63b47cae070ccd8a59e06cd3e40dc054ab24551.tar.gz | |
This patch allows cpdf to be compiled in conjunction with ncurses, which was
not possible before due to conflicting defines.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/cpdf/cpdf.c | 2 | ||||
| -rw-r--r-- | ext/cpdf/php_cpdf.h | 2 |
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 |
