require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_DEV_VIDEOVAR_H)) {
    eval 'sub _SYS_DEV_VIDEOVAR_H () {1;}' unless defined(&_SYS_DEV_VIDEOVAR_H);
    eval 'sub VIDEO_OPEN () {0x1;}' unless defined(&VIDEO_OPEN);
    eval 'sub VIDMODE_NONE () {0;}' unless defined(&VIDMODE_NONE);
    eval 'sub VIDMODE_MMAP () {1;}' unless defined(&VIDMODE_MMAP);
    eval 'sub VIDMODE_READ () {2;}' unless defined(&VIDMODE_READ);
}
1;
