require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS__TIME_H_)) {
    eval 'sub _SYS__TIME_H_ () {1;}' unless defined(&_SYS__TIME_H_);
    eval 'sub CLOCK_REALTIME () {0;}' unless defined(&CLOCK_REALTIME);
    eval 'sub CLOCK_VIRTUAL () {1;}' unless defined(&CLOCK_VIRTUAL);
    eval 'sub CLOCK_PROF () {2;}' unless defined(&CLOCK_PROF);
    eval 'sub CLOCK_MONOTONIC () {3;}' unless defined(&CLOCK_MONOTONIC);
    eval 'sub TIMER_RELTIME () {0x;}' unless defined(&TIMER_RELTIME);
    eval 'sub TIMER_ABSTIME () {0x1;}' unless defined(&TIMER_ABSTIME);
}
1;
