require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_COMPERR_H)) {
    eval 'sub OPENSSL_COMPERR_H () {1;}' unless defined(&OPENSSL_COMPERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    unless(defined(&OPENSSL_NO_COMP)) {
	eval 'sub COMP_R_ZLIB_DEFLATE_ERROR () {99;}' unless defined(&COMP_R_ZLIB_DEFLATE_ERROR);
	eval 'sub COMP_R_ZLIB_INFLATE_ERROR () {100;}' unless defined(&COMP_R_ZLIB_INFLATE_ERROR);
	eval 'sub COMP_R_ZLIB_NOT_SUPPORTED () {101;}' unless defined(&COMP_R_ZLIB_NOT_SUPPORTED);
    }
}
1;
