--- perl-5.30.0.old/ext/Errno/Errno_pm.PL
+++ perl-5.30.0/ext/Errno/Errno_pm.PL
@@ -118,7 +118,8 @@
 	# Some Linuxes have weird errno.hs which generate
 	# no #file or #line directives
 	($linux_errno_h) = grep { -e $_ } map { "$_/errno.h" }
-	    "$sysroot/usr/include", "$sysroot/usr/local/include",
+        "__META_PRODTREE__/glibc/include" ,
+        "$sysroot/usr/local/include" ,
 	    split / / => $Config{locincpth};
     }
 
===== end of patch =====