diff --git a/Makefile.in b/Makefile.in index c594072212e55..3dbcdcfe92b61 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14,7 +14,7 @@ LTLIBRARY_SOURCES = \ configuration-parser.c configuration-scanner.c request_info.c \ safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \ php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \ - strlcat.c mergesort.c reentrancy.c + strlcat.c mergesort.c reentrancy.c php_gpce.c LTLIBRARY_DEPENDENCIES = \ Zend/libZend.la \ diff --git a/ext/standard/Makefile.in b/ext/standard/Makefile.in index 46c6c3ddf52ad..e58bbcf3a797d 100644 --- a/ext/standard/Makefile.in +++ b/ext/standard/Makefile.in @@ -10,7 +10,7 @@ LTLIBRARY_SOURCES=\ dir.c dl.c dns.c exec.c file.c filestat.c flock_compat.c \ formatted_print.c fsock.c head.c html.c image.c info.c iptc.c lcg.c \ link.c mail.c math.c md5.c metaphone.c microtime.c pack.c pageinfo.c \ - parsedate.c post.c quot_print.c rand.c reg.c soundex.c string.c \ + parsedate.c quot_print.c rand.c reg.c soundex.c string.c \ syslog.c type.c uniqid.c url.c url_scanner.c var.c output.c assert.c include $(topsrcdir)/build/ltlib.mk diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c index eb7f173e8db9a..0358e9e391ed8 100644 --- a/ext/standard/fsock.c +++ b/ext/standard/fsock.c @@ -65,7 +65,6 @@ #include "base64.h" #include "file.h" -#include "post.h" #include "url.h" #include "fsock.h" diff --git a/ext/standard/head.c b/ext/standard/head.c index a6b973cec6c2f..8e33490cda141 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -23,7 +23,6 @@ #include "SAPI.h" #include "main.h" #include "head.h" -#include "post.h" #include "SAPI.h" #ifdef TM_IN_SYS_TIME #include diff --git a/ext/standard/php_standard.h b/ext/standard/php_standard.h index 8e48c18503e3f..9f6d64221ae22 100644 --- a/ext/standard/php_standard.h +++ b/ext/standard/php_standard.h @@ -63,7 +63,6 @@ #include "dl.h" #include "php_crypt.h" #include "head.h" -#include "post.h" #define phpext_standard_ptr basic_functions_module_ptr diff --git a/ext/standard/string.c b/ext/standard/string.c index f199c03b55796..5b0a517eb06c4 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -25,8 +25,8 @@ #include #include "php.h" #include "reg.h" -#include "post.h" #include "php_string.h" +#include "php_gpce.h" #ifdef HAVE_LOCALE_H # include #endif diff --git a/main/main.c b/main/main.c index 77d9d78e34473..0bee1125467ae 100644 --- a/main/main.c +++ b/main/main.c @@ -50,6 +50,7 @@ #include "fopen-wrappers.h" #include "ext/standard/php_standard.h" #include "snprintf.h" +#include "php_gpce.h" #if WIN32|WINNT #include #include diff --git a/main/rfc1867.c b/main/rfc1867.c index 76819f8fd9bbb..12ed4f2934d92 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -23,6 +23,7 @@ #include "ext/standard/file.h" /* for php_file_le_uploads() */ #include "zend_globals.h" #include "php_globals.h" +#include "php_gpce.h" #include "rfc1867.h" diff --git a/ext/standard/post.c b/php_gpce.c similarity index 99% rename from ext/standard/post.c rename to php_gpce.c index b38ad906f8948..c2d0d285dac26 100644 --- a/ext/standard/post.c +++ b/php_gpce.c @@ -20,7 +20,8 @@ #include #include "php.h" -#include "php_standard.h" +#include "ext/standard/php_standard.h" +#include "php_gpce.h" #include "php_globals.h" #include "SAPI.h" diff --git a/ext/standard/post.h b/php_gpce.h similarity index 100% rename from ext/standard/post.h rename to php_gpce.h