summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-02-28 07:25:15 +0000
committerfoobar <sniper@php.net>2003-02-28 07:25:15 +0000
commit08b5f6b2b90962285d273bf9e896446f43e67784 (patch)
treea28e14e912ab8591b54c9cdd1b3c0c27e7b064fd /ext/ftp/php_ftp.c
parent282512abea2e79a6c7f5562009a1a3751fce557e (diff)
downloadphp-git-08b5f6b2b90962285d273bf9e896446f43e67784.tar.gz
- No need to include the ssl headers elsewhere but in ext/openssl
# ext/ftp doesn't use streams yet so it needs to include them.
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 094b950ba6..b5a5711da3 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -35,6 +35,10 @@
#endif
#endif
+#if HAVE_OPENSSL_EXT
+#include <openssl/ssl.h>
+#endif
+
#if HAVE_FTP
#include "ext/standard/info.h"