if (!eval { require "sys/syscall.ph"; 1 }) { my $save_pwd = cwd; chdir "/usr/include" or die $!; system("h2ph", "sys/syscall.ph"); chdir $save_pwd or die $!; }