require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_PWD_H_)) {
    eval 'sub _PWD_H_ () {1;}' unless defined(&_PWD_H_);
    require 'sys/cdefs.ph';
    require 'sys/featuretest.ph';
    require 'sys/types.ph';
    if(defined(&_NETBSD_SOURCE) || defined(&HAVE_NBTOOL_CONFIG_H)) {
	eval 'sub _PATH_PASSWD () {"/etc/passwd";}' unless defined(&_PATH_PASSWD);
	eval 'sub _PATH_MASTERPASSWD () {"/etc/master.passwd";}' unless defined(&_PATH_MASTERPASSWD);
	eval 'sub _PATH_MASTERPASSWD_LOCK () {"/etc/ptmp";}' unless defined(&_PATH_MASTERPASSWD_LOCK);
	eval 'sub _PATH_PASSWD_CONF () {"/etc/passwd.conf";}' unless defined(&_PATH_PASSWD_CONF);
	eval 'sub _PATH_PASSWDCONF () { &_PATH_PASSWD_CONF;}' unless defined(&_PATH_PASSWDCONF);
	eval 'sub _PATH_USERMGMT_CONF () {"/etc/usermgmt.conf";}' unless defined(&_PATH_USERMGMT_CONF);
	eval 'sub _PATH_MP_DB () {"/etc/pwd.db";}' unless defined(&_PATH_MP_DB);
	eval 'sub _PATH_SMP_DB () {"/etc/spwd.db";}' unless defined(&_PATH_SMP_DB);
	eval 'sub _PATH_PWD_MKDB () {"/usr/sbin/pwd_mkdb";}' unless defined(&_PATH_PWD_MKDB);
	eval 'sub _PW_KEYBYNAME () {ord(\'1\');}' unless defined(&_PW_KEYBYNAME);
	eval 'sub _PW_KEYBYNUM () {ord(\'2\');}' unless defined(&_PW_KEYBYNUM);
	eval 'sub _PW_KEYBYUID () {ord(\'3\');}' unless defined(&_PW_KEYBYUID);
	eval 'sub _PASSWORD_EFMT1 () {ord(\'_\');}' unless defined(&_PASSWORD_EFMT1);
	eval 'sub _PASSWORD_NONDES () {ord(\'$\');}' unless defined(&_PASSWORD_NONDES);
	eval 'sub _PASSWORD_LEN () {128;}' unless defined(&_PASSWORD_LEN);
	eval 'sub _PASSWORD_NOUID () {0x1;}' unless defined(&_PASSWORD_NOUID);
	eval 'sub _PASSWORD_NOGID () {0x2;}' unless defined(&_PASSWORD_NOGID);
	eval 'sub _PASSWORD_NOCHG () {0x4;}' unless defined(&_PASSWORD_NOCHG);
	eval 'sub _PASSWORD_NOEXP () {0x8;}' unless defined(&_PASSWORD_NOEXP);
	eval 'sub _PASSWORD_OLDFMT () {0x10;}' unless defined(&_PASSWORD_OLDFMT);
	eval 'sub _PASSWORD_NOWARN () {0x20;}' unless defined(&_PASSWORD_NOWARN);
	eval 'sub _PASSWORD_WARNDAYS () {14;}' unless defined(&_PASSWORD_WARNDAYS);
	eval 'sub _PASSWORD_CHGNOW () {-1;}' unless defined(&_PASSWORD_CHGNOW);
    }
    unless(defined(&__LIBC12_SOURCE__)) {
    }
    if(((defined(&_POSIX_C_SOURCE) ? &_POSIX_C_SOURCE : undef) - 0) >= 199506 || ((defined(&_XOPEN_SOURCE) ? &_XOPEN_SOURCE : undef) - 0) >= 500|| defined(&_REENTRANT) || defined(&_NETBSD_SOURCE)) {
	unless(defined(&__LIBC12_SOURCE__)) {
	}
    }
    if(defined(&_XOPEN_SOURCE) || defined(&_NETBSD_SOURCE)) {
	unless(defined(&__LIBC12_SOURCE__)) {
	}
    }
    if(defined(&_NETBSD_SOURCE)) {
	unless(defined(&__LIBC12_SOURCE__)) {
	}
	unless(defined(&__LIBC12_SOURCE__)) {
	}
    }
}
1;
