require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_BIOERR_H)) {
    eval 'sub OPENSSL_BIOERR_H () {1;}' unless defined(&OPENSSL_BIOERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    eval 'sub BIO_R_ACCEPT_ERROR () {100;}' unless defined(&BIO_R_ACCEPT_ERROR);
    eval 'sub BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET () {141;}' unless defined(&BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET);
    eval 'sub BIO_R_AMBIGUOUS_HOST_OR_SERVICE () {129;}' unless defined(&BIO_R_AMBIGUOUS_HOST_OR_SERVICE);
    eval 'sub BIO_R_BAD_FOPEN_MODE () {101;}' unless defined(&BIO_R_BAD_FOPEN_MODE);
    eval 'sub BIO_R_BROKEN_PIPE () {124;}' unless defined(&BIO_R_BROKEN_PIPE);
    eval 'sub BIO_R_CONNECT_ERROR () {103;}' unless defined(&BIO_R_CONNECT_ERROR);
    eval 'sub BIO_R_CONNECT_TIMEOUT () {147;}' unless defined(&BIO_R_CONNECT_TIMEOUT);
    eval 'sub BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET () {107;}' unless defined(&BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET);
    eval 'sub BIO_R_GETSOCKNAME_ERROR () {132;}' unless defined(&BIO_R_GETSOCKNAME_ERROR);
    eval 'sub BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS () {133;}' unless defined(&BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS);
    eval 'sub BIO_R_GETTING_SOCKTYPE () {134;}' unless defined(&BIO_R_GETTING_SOCKTYPE);
    eval 'sub BIO_R_INVALID_ARGUMENT () {125;}' unless defined(&BIO_R_INVALID_ARGUMENT);
    eval 'sub BIO_R_INVALID_SOCKET () {135;}' unless defined(&BIO_R_INVALID_SOCKET);
    eval 'sub BIO_R_IN_USE () {123;}' unless defined(&BIO_R_IN_USE);
    eval 'sub BIO_R_LENGTH_TOO_LONG () {102;}' unless defined(&BIO_R_LENGTH_TOO_LONG);
    eval 'sub BIO_R_LISTEN_V6_ONLY () {136;}' unless defined(&BIO_R_LISTEN_V6_ONLY);
    eval 'sub BIO_R_LOOKUP_RETURNED_NOTHING () {142;}' unless defined(&BIO_R_LOOKUP_RETURNED_NOTHING);
    eval 'sub BIO_R_MALFORMED_HOST_OR_SERVICE () {130;}' unless defined(&BIO_R_MALFORMED_HOST_OR_SERVICE);
    eval 'sub BIO_R_NBIO_CONNECT_ERROR () {110;}' unless defined(&BIO_R_NBIO_CONNECT_ERROR);
    eval 'sub BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED () {143;}' unless defined(&BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED);
    eval 'sub BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED () {144;}' unless defined(&BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED);
    eval 'sub BIO_R_NO_PORT_DEFINED () {113;}' unless defined(&BIO_R_NO_PORT_DEFINED);
    eval 'sub BIO_R_NO_SUCH_FILE () {128;}' unless defined(&BIO_R_NO_SUCH_FILE);
    eval 'sub BIO_R_NULL_PARAMETER () {115;}' unless defined(&BIO_R_NULL_PARAMETER);
    eval 'sub BIO_R_TRANSFER_ERROR () {104;}' unless defined(&BIO_R_TRANSFER_ERROR);
    eval 'sub BIO_R_TRANSFER_TIMEOUT () {105;}' unless defined(&BIO_R_TRANSFER_TIMEOUT);
    eval 'sub BIO_R_UNABLE_TO_BIND_SOCKET () {117;}' unless defined(&BIO_R_UNABLE_TO_BIND_SOCKET);
    eval 'sub BIO_R_UNABLE_TO_CREATE_SOCKET () {118;}' unless defined(&BIO_R_UNABLE_TO_CREATE_SOCKET);
    eval 'sub BIO_R_UNABLE_TO_KEEPALIVE () {137;}' unless defined(&BIO_R_UNABLE_TO_KEEPALIVE);
    eval 'sub BIO_R_UNABLE_TO_LISTEN_SOCKET () {119;}' unless defined(&BIO_R_UNABLE_TO_LISTEN_SOCKET);
    eval 'sub BIO_R_UNABLE_TO_NODELAY () {138;}' unless defined(&BIO_R_UNABLE_TO_NODELAY);
    eval 'sub BIO_R_UNABLE_TO_REUSEADDR () {139;}' unless defined(&BIO_R_UNABLE_TO_REUSEADDR);
    eval 'sub BIO_R_UNAVAILABLE_IP_FAMILY () {145;}' unless defined(&BIO_R_UNAVAILABLE_IP_FAMILY);
    eval 'sub BIO_R_UNINITIALIZED () {120;}' unless defined(&BIO_R_UNINITIALIZED);
    eval 'sub BIO_R_UNKNOWN_INFO_TYPE () {140;}' unless defined(&BIO_R_UNKNOWN_INFO_TYPE);
    eval 'sub BIO_R_UNSUPPORTED_IP_FAMILY () {146;}' unless defined(&BIO_R_UNSUPPORTED_IP_FAMILY);
    eval 'sub BIO_R_UNSUPPORTED_METHOD () {121;}' unless defined(&BIO_R_UNSUPPORTED_METHOD);
    eval 'sub BIO_R_UNSUPPORTED_PROTOCOL_FAMILY () {131;}' unless defined(&BIO_R_UNSUPPORTED_PROTOCOL_FAMILY);
    eval 'sub BIO_R_WRITE_TO_READ_ONLY_BIO () {126;}' unless defined(&BIO_R_WRITE_TO_READ_ONLY_BIO);
    eval 'sub BIO_R_WSASTARTUP () {122;}' unless defined(&BIO_R_WSASTARTUP);
}
1;
