require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&EVENT1_EVENT_H_INCLUDED_)) {
    eval 'sub EVENT1_EVENT_H_INCLUDED_ () {1;}' unless defined(&EVENT1_EVENT_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';
    }
    if(defined(&EVENT__HAVE_STDINT_H)) {
	require 'stdint.ph';
    }
    require 'stdarg.ph';
    require 'evutil.ph';
    if(defined(&_WIN32)) {
	unless(defined(&WIN32_LEAN_AND_MEAN)) {
	    eval 'sub WIN32_LEAN_AND_MEAN () {1;}' unless defined(&WIN32_LEAN_AND_MEAN);
	}
	require 'winsock2.ph';
	require 'windows.ph';
	undef(&WIN32_LEAN_AND_MEAN) if defined(&WIN32_LEAN_AND_MEAN);
    }
    require 'event2/event_struct.ph';
    require 'event2/event.ph';
    require 'event2/event_compat.ph';
    require 'event2/buffer.ph';
    require 'event2/buffer_compat.ph';
    require 'event2/bufferevent.ph';
    require 'event2/bufferevent_struct.ph';
    require 'event2/bufferevent_compat.ph';
    require 'event2/tag.ph';
    require 'event2/tag_compat.ph';
    if(defined(&__cplusplus)) {
    }
}
1;
