require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__xfs_syscalls)) {
    eval 'sub __xfs_syscalls () {1;}' unless defined(&__xfs_syscalls);
    require 'xfs/xfs_common.ph';
    require 'xfs/xfs_message.ph';
    require 'xfs/afssysdefs.ph';
    eval 'sub NNPFS_FHMAXDATA () {40;}' unless defined(&NNPFS_FHMAXDATA);
    unless(defined(&HAVE_KERNEL_SYS_LKMNOSYS)) {
	eval 'sub sys_lkmnosys () { &nosys;}' unless defined(&sys_lkmnosys);
    }
    unless(defined(&SYS_MAXSYSCALL)) {
	eval 'sub SYS_MAXSYSCALL () { &nsysent;}' unless defined(&SYS_MAXSYSCALL);
    }
}
1;
