summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-07-03 07:10:46 +0200
committerAnatol Belski <ab@php.net>2015-07-03 07:11:14 +0200
commit3d7343f609b81ebac95d94480a2615df530806e7 (patch)
tree9c0e49d0ff47c52b7656ec64c75579a522a3baf9
parent59444347d1c33020d571bb8e8649e7aad432c913 (diff)
downloadphp-git-3d7343f609b81ebac95d94480a2615df530806e7.tar.gz
integrate the applink shim in the other bins
-rw-r--r--sapi/cgi/cgi_main.c4
-rw-r--r--sapi/phpdbg/phpdbg.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index cc04f34cab..3de902a557 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/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 339102c052..31dab3f274 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -48,6 +48,10 @@
# include <arpa/inet.h>
#endif /* }}} */
+#if defined(PHP_WIN32) && defined(HAVE_OPENSSL)
+# include "openssl/applink.c"
+#endif
+
ZEND_DECLARE_MODULE_GLOBALS(phpdbg);
int phpdbg_startup_run = 0;