require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_XATTR_H_)) {
    eval 'sub _SYS_XATTR_H_ () {1;}' unless defined(&_SYS_XATTR_H_);
    require 'sys/types.ph';
    require 'sys/param.ph';
    eval 'sub XATTR_NAME_MAX () { &KERNEL_NAME_MAX;}' unless defined(&XATTR_NAME_MAX);
    eval 'sub XATTR_SIZE_MAX () {65536;}' unless defined(&XATTR_SIZE_MAX);
    eval 'sub XATTR_CREATE () {0x1;}' unless defined(&XATTR_CREATE);
    eval 'sub XATTR_REPLACE () {0x2;}' unless defined(&XATTR_REPLACE);
    unless(defined(&_KERNEL)) {
	require 'sys/cdefs.ph';
    }
}
1;
