require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_TTYENT_H_)) {
    eval 'sub _TTYENT_H_ () {1;}' unless defined(&_TTYENT_H_);
    eval 'sub _PATH_TTYS () {"/etc/ttys";}' unless defined(&_PATH_TTYS);
    eval 'sub _TTYS_OFF () {"off";}' unless defined(&_TTYS_OFF);
    eval 'sub _TTYS_ON () {"on";}' unless defined(&_TTYS_ON);
    eval 'sub _TTYS_SECURE () {"secure";}' unless defined(&_TTYS_SECURE);
    eval 'sub _TTYS_WINDOW () {"window";}' unless defined(&_TTYS_WINDOW);
    eval 'sub _TTYS_LOCAL () {"local";}' unless defined(&_TTYS_LOCAL);
    eval 'sub _TTYS_RTSCTS () {"rtscts";}' unless defined(&_TTYS_RTSCTS);
    eval 'sub _TTYS_SOFTCAR () {"softcar";}' unless defined(&_TTYS_SOFTCAR);
    eval 'sub _TTYS_MDMBUF () {"mdmbuf";}' unless defined(&_TTYS_MDMBUF);
    eval 'sub TTY_ON () {0x1;}' unless defined(&TTY_ON);
    eval 'sub TTY_SECURE () {0x2;}' unless defined(&TTY_SECURE);
    eval 'sub TTY_LOCAL () {0x4;}' unless defined(&TTY_LOCAL);
    eval 'sub TTY_RTSCTS () {0x8;}' unless defined(&TTY_RTSCTS);
    eval 'sub TTY_SOFTCAR () {0x10;}' unless defined(&TTY_SOFTCAR);
    eval 'sub TTY_MDMBUF () {0x20;}' unless defined(&TTY_MDMBUF);
    require 'sys/cdefs.ph';
}
1;
