require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_IMSG_H_)) {
    eval 'sub _IMSG_H_ () {1;}' unless defined(&_IMSG_H_);
    eval 'sub IBUF_READ_SIZE () {65535;}' unless defined(&IBUF_READ_SIZE);
    eval 'sub IMSG_HEADER_SIZE () {$sizeof{\'struct imsg_hdr\'};}' unless defined(&IMSG_HEADER_SIZE);
    eval 'sub MAX_IMSGSIZE () {16384;}' unless defined(&MAX_IMSGSIZE);
    eval 'sub IMSGF_HASFD () {1;}' unless defined(&IMSGF_HASFD);
}
1;
