This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Last patch needed to get Perl5.7 to build natively on VOS
[perl5.git] / ext / Errno / Errno_pm.PL
index eafbd67..201a8f3 100644 (file)
@@ -123,6 +123,9 @@ sub get_files {
        # hidden in a special place
        $file{'/boot/develop/headers/posix/errno.h'} = 1;
 
+    } elsif ($^O eq 'vos') {
+       # avoid problem where cpp returns non-POSIX pathnames
+       $file{'/system/include_library/errno.h'} = 1;
     } else {
        open(CPPI,"> errno.c") or
            die "Cannot open errno.c";