require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&EVENT2_HTTP_COMPAT_H_INCLUDED_)) {
    eval 'sub EVENT2_HTTP_COMPAT_H_INCLUDED_ () {1;}' unless defined(&EVENT2_HTTP_COMPAT_H_INCLUDED_);
    if(defined(&__cplusplus)) {
    }
    require 'event2/event-config.ph';
    if(defined(&EVENT__HAVE_SYS_TYPES_H)) {
	require 'sys/types.ph';
    }
    if(defined(&EVENT__HAVE_SYS_TIME_H)) {
	require 'sys/time.ph';
    }
    require 'event2/util.ph';
    eval 'sub evhttp_request_uri () { &evhttp_request_get_uri;}' unless defined(&evhttp_request_uri);
    if(defined(&__cplusplus)) {
    }
}
1;
