require '_h2ph_pre.ph';

unless(defined(&FBTYPE_SUN1BW)) {
    sub FBTYPE_SUN1BW () {	0;}
}
unless(defined(&FBTYPE_SUN1COLOR)) {
    sub FBTYPE_SUN1COLOR () {	1;}
}
unless(defined(&FBTYPE_SUN2BW)) {
    sub FBTYPE_SUN2BW () {	2;}
}
unless(defined(&FBTYPE_SUN2COLOR)) {
    sub FBTYPE_SUN2COLOR () {	3;}
}
unless(defined(&FBTYPE_SUN2GP)) {
    sub FBTYPE_SUN2GP () {	4;}
}
unless(defined(&FBTYPE_SUN5COLOR)) {
    sub FBTYPE_SUN5COLOR () {	5;}
}
unless(defined(&FBTYPE_SUN3COLOR)) {
    sub FBTYPE_SUN3COLOR () {	6;}
}
unless(defined(&FBTYPE_MEMCOLOR)) {
    sub FBTYPE_MEMCOLOR () {	7;}
}
unless(defined(&FBTYPE_SUN4COLOR)) {
    sub FBTYPE_SUN4COLOR () {	8;}
}
unless(defined(&FBTYPE_NOTSUN1)) {
    sub FBTYPE_NOTSUN1 () {	9;}
}
unless(defined(&FBTYPE_NOTSUN2)) {
    sub FBTYPE_NOTSUN2 () {	10;}
}
unless(defined(&FBTYPE_NOTSUN3)) {
    sub FBTYPE_NOTSUN3 () {	11;}
}
unless(defined(&FBTYPE_SUNFAST_COLOR)) {
    sub FBTYPE_SUNFAST_COLOR () {	12;}
}
unless(defined(&FBTYPE_SUNROP_COLOR)) {
    sub FBTYPE_SUNROP_COLOR () {	13;}
}
unless(defined(&FBTYPE_SUNFB_VIDEO)) {
    sub FBTYPE_SUNFB_VIDEO () {	14;}
}
unless(defined(&FBTYPE_RESERVED5)) {
    sub FBTYPE_RESERVED5 () {	15;}
}
unless(defined(&FBTYPE_RESERVED4)) {
    sub FBTYPE_RESERVED4 () {	16;}
}
unless(defined(&FBTYPE_RESERVED3)) {
    sub FBTYPE_RESERVED3 () {	17;}
}
unless(defined(&FBTYPE_SUNGP3)) {
    sub FBTYPE_SUNGP3 () {	17;}
}
unless(defined(&FBTYPE_SUNGT)) {
    sub FBTYPE_SUNGT () {	18;}
}
unless(defined(&FBTYPE_SUNLEO)) {
    sub FBTYPE_SUNLEO () {	19;}
}
unless(defined(&FBTYPE_MDICOLOR)) {
    sub FBTYPE_MDICOLOR () {	20;}
}
unless(defined(&FBTYPE_LASTPLUSONE)) {
    sub FBTYPE_LASTPLUSONE () {	21;}
}
unless(defined(&FBIOGTYPE)) {
    sub FBIOGTYPE () {	 &_IOR(ord('F'), 0, 'struct fbtype');}
}
if(defined(&notdef)) {
    eval 'sub FBIOGINFO () { &_IOR(ord(\'F\'), 2, \'struct fbinfo\');}' unless defined(&FBIOGINFO);
}
unless(defined(&FBIOPUTCMAP)) {
    sub FBIOPUTCMAP () {	 &_IOW(ord('F'), 3, 'struct fbcmap');}
}
unless(defined(&FBIOGETCMAP)) {
    sub FBIOGETCMAP () {	 &_IOW(ord('F'), 4, 'struct fbcmap');}
}
unless(defined(&FB_ATTR_NDEVSPECIFIC)) {
    sub FB_ATTR_NDEVSPECIFIC () {	8;}
}
unless(defined(&FB_ATTR_NEMUTYPES)) {
    sub FB_ATTR_NEMUTYPES () {	4;}
}
unless(defined(&FB_ATTR_AUTOINIT)) {
    sub FB_ATTR_AUTOINIT () {	1;}
}
unless(defined(&FB_ATTR_DEVSPECIFIC)) {
    sub FB_ATTR_DEVSPECIFIC () {	2;}
}
unless(defined(&FBIOGATTR)) {
    sub FBIOGATTR () {	 &_IOR(ord('F'), 6, 'struct fbgattr');}
}
unless(defined(&FBVIDEO_OFF)) {
    sub FBVIDEO_OFF () {	0;}
}
unless(defined(&FBVIDEO_ON)) {
    sub FBVIDEO_ON () {	1;}
}
unless(defined(&FBIOSVIDEO)) {
    sub FBIOSVIDEO () {	 &_IOW(ord('F'), 7, 'int');}
}
unless(defined(&FBIOGVIDEO)) {
    sub FBIOGVIDEO () {	 &_IOR(ord('F'), 8, 'int');}
}
unless(defined(&FB_CUR_SETCUR)) {
    sub FB_CUR_SETCUR () {	0x01;}
}
unless(defined(&FB_CUR_SETPOS)) {
    sub FB_CUR_SETPOS () {	0x02;}
}
unless(defined(&FB_CUR_SETHOT)) {
    sub FB_CUR_SETHOT () {	0x04;}
}
unless(defined(&FB_CUR_SETCMAP)) {
    sub FB_CUR_SETCMAP () {	0x08;}
}
unless(defined(&FB_CUR_SETSHAPE)) {
    sub FB_CUR_SETSHAPE () {	0x10;}
}
unless(defined(&FB_CUR_SETALL)) {
    sub FB_CUR_SETALL () {	0x1f;}
}
unless(defined(&FBIOSCURSOR)) {
    sub FBIOSCURSOR () {	 &_IOW(ord('F'), 24, 'struct fbcursor');}
}
unless(defined(&FBIOGCURSOR)) {
    sub FBIOGCURSOR () {	 &_IOWR(ord('F'), 25, 'struct fbcursor');}
}
unless(defined(&FBIOSCURPOS)) {
    sub FBIOSCURPOS () {	 &_IOW(ord('F'), 26, 'struct fbcurpos');}
}
unless(defined(&FBIOGCURPOS)) {
    sub FBIOGCURPOS () {	 &_IOW(ord('F'), 27, 'struct fbcurpos');}
}
unless(defined(&FBIOGCURMAX)) {
    sub FBIOGCURMAX () {	 &_IOR(ord('F'), 28, 'struct fbcurpos');}
}
1;
