require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_HESIOD_H_)) {
    eval 'sub _HESIOD_H_ () {1;}' unless defined(&_HESIOD_H_);
    eval 'sub HESIOD_INTERFACES () {1;}' unless defined(&HESIOD_INTERFACES);
    unless(defined(&_PATH_HESIOD_CONF)) {
	eval 'sub _PATH_HESIOD_CONF () {"/etc/hesiod.conf";}' unless defined(&_PATH_HESIOD_CONF);
    }
    eval 'sub DEF_RHS () {"";}' unless defined(&DEF_RHS);
    eval 'sub DEF_LHS () {"";}' unless defined(&DEF_LHS);
    eval 'sub HES_ER_UNINIT () {-1;}' unless defined(&HES_ER_UNINIT);
    eval 'sub HES_ER_OK () {0;}' unless defined(&HES_ER_OK);
    eval 'sub HES_ER_NOTFOUND () {1;}' unless defined(&HES_ER_NOTFOUND);
    eval 'sub HES_ER_CONFIG () {2;}' unless defined(&HES_ER_CONFIG);
    eval 'sub HES_ER_NET () {3;}' unless defined(&HES_ER_NET);
    require 'sys/cdefs.ph';
}
1;
