require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DRM_SAREA_H_)) {
    eval 'sub _DRM_SAREA_H_ () {1;}' unless defined(&_DRM_SAREA_H_);
    require './dev/pci/drm/drm.ph';
    if(defined( &__alpha__)) {
	eval 'sub SAREA_MAX () {0x2000;}' unless defined(&SAREA_MAX);
    }
 elsif(defined( &__ia64__)) {
	eval 'sub SAREA_MAX () {0x10000;}' unless defined(&SAREA_MAX);
    } else {
	eval 'sub SAREA_MAX () {0x2000;}' unless defined(&SAREA_MAX);
    }
    eval 'sub SAREA_MAX_DRAWABLES () {256;}' unless defined(&SAREA_MAX_DRAWABLES);
    eval 'sub SAREA_DRAWABLE_CLAIMED_ENTRY () {0x80000000;}' unless defined(&SAREA_DRAWABLE_CLAIMED_ENTRY);
    unless(defined(&__KERNEL__)) {
    }
}
1;
