Browse Source

- 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.
migration/unlabaled-1.3.2
foobar 24 years ago
parent
commit
08b5f6b2b9
  1. 4
      ext/ftp/ftp.c
  2. 4
      ext/ftp/php_ftp.c
  3. 1
      ext/openssl/xp_ssl.c
  4. 4
      main/php_network.h

4
ext/ftp/ftp.c

@ -65,6 +65,10 @@
#include <sys/select.h>
#endif
#if HAVE_OPENSSL_EXT
#include <openssl/ssl.h>
#endif
#include "ftp.h"
#include "ext/standard/fsock.h"

4
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"

1
ext/openssl/xp_ssl.c

@ -23,6 +23,7 @@
#include "streams/php_streams_int.h"
#include "php_network.h"
#include "php_openssl.h"
#include <openssl/ssl.h>
#include <openssl/err.h>

4
main/php_network.h

@ -76,10 +76,6 @@ PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize);
#include <sys/time.h>
#endif
#if HAVE_OPENSSL_EXT
#include <openssl/ssl.h>
#endif
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif

Loading…
Cancel
Save