com php-src: backport 59444347 and 3d7343f6: sapi/cgi/cgi_mai n.c sapi/cli/php_cli.c sapi/phpdbg/phpdbg.c
| From: | Anatol Belski | Date: | Thu, 08 Sep 2016 15:46:53 +0000 |
| Subject: | com php-src: backport 59444347 and 3d7343f6: sapi/cgi/cgi_mai n.c sapi/cli/php_cli.c sapi/phpdbg/phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94384@lists.php.net to get a copy of this message | ||
Commit: b1f33db39f48c1254cc3661faf53890d213f07d0
Author: Anatol Belski <ab@php.net> Thu, 8 Sep 2016 17:46:53 +0200
Parents: 8c700076d745a8ea2b6ac7aa72410f86f7fbeaca
Branches: PHP-5.6 PHP-7.0 PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b1f33db39f48c1254cc3661faf53890d213f07d0
Log:
backport 59444347 and 3d7343f6
Changed paths:
M sapi/cgi/cgi_main.c
M sapi/cli/php_cli.c
M sapi/phpdbg/phpdbg.c
Diff:
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index bf2c3d2..a735056 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -92,6 +92,10 @@ int __riscosify_control = __RISCOSIFY_STRICT_UNIX_SPECS;
#include "fastcgi.h"
+#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
+# include "openssl/applink.c"
+#endif
+
#ifndef PHP_WIN32
/* XXX this will need to change later when threaded fastcgi is implemented. shane */
struct sigaction act, old_term, old_quit, old_int;
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 40a41e5..a80e21c 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -95,6 +95,10 @@
# include "win32/select.h"
#endif
+#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
+# include "openssl/applink.c"
+#endif
+
PHPAPI extern char *php_ini_opened_path;
PHPAPI extern char *php_ini_scanned_path;
PHPAPI extern char *php_ini_scanned_files;
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 01a4b5e..0e9b30e 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -41,6 +41,10 @@
# include <arpa/inet.h>
#endif /* }}} */
+#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
+# include "openssl/applink.c"
+#endif
+
ZEND_DECLARE_MODULE_GLOBALS(phpdbg);
static zend_bool phpdbg_booted = 0;