From 3d7343f609b81ebac95d94480a2615df530806e7 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 3 Jul 2015 07:10:46 +0200 Subject: [PATCH] integrate the applink shim in the other bins --- sapi/cgi/cgi_main.c | 4 ++++ sapi/phpdbg/phpdbg.c | 4 ++++ 2 files changed, 8 insertions(+) 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 #endif /* }}} */ +#if defined(PHP_WIN32) && defined(HAVE_OPENSSL) +# include "openssl/applink.c" +#endif + ZEND_DECLARE_MODULE_GLOBALS(phpdbg); int phpdbg_startup_run = 0; -- 2.50.1