diff --git a/share/libc/errno.h b/share/libc/errno.h
index ea398ffc8f14ed127dfc5bd7389a7415a3fef62b..2fa3792a89d6b39414b4610f2d3aaffbdf140bfc 100644
--- a/share/libc/errno.h
+++ b/share/libc/errno.h
@@ -117,6 +117,7 @@ __PUSH_FC_STDLIB
 #define ENOTCONN __FC_ENOTCONN
 #define ENOTDIR __FC_ENOTDIR
 #define ENOTEMPTY __FC_ENOTEMPTY
+#define ENOTRECOVERABLE __FC_ENOTRECOVERABLE
 #define ENOTSOCK __FC_ENOTSOCK
 #define ENOTSUP __FC_ENOTSUP
 #define ENOTTY __FC_ENOTTY
@@ -124,6 +125,7 @@ __PUSH_FC_STDLIB
 #define ENXIO __FC_ENXIO
 #define EOPNOTSUPP __FC_EOPNOTSUPP
 #define EOVERFLOW __FC_EOVERFLOW
+#define EOWNER_DEAD __FC_EOWNER_DEAD
 #define EPERM __FC_EPERM
 #define EPFNOSUPPORT __FC_EPFNOSUPPORT
 #define EPIPE __FC_EPIPE
diff --git a/share/machdeps/machdep_avr_16.yaml b/share/machdeps/machdep_avr_16.yaml
index bbf6aff51fb746238814b1cf75bb62ee3b0433a7..6f83dbf1fa9a931ed510c1bc6e45302936c3bc36 100644
--- a/share/machdeps/machdep_avr_16.yaml
+++ b/share/machdeps/machdep_avr_16.yaml
@@ -105,6 +105,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -112,6 +113,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_gcc_x86_16.yaml b/share/machdeps/machdep_gcc_x86_16.yaml
index 1e1098967c00db7a2f4281a3831423c22140ac6f..7b16598bcee89e28be622452b4b87b76dca893b8 100644
--- a/share/machdeps/machdep_gcc_x86_16.yaml
+++ b/share/machdeps/machdep_gcc_x86_16.yaml
@@ -101,6 +101,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -108,6 +109,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_gcc_x86_32.yaml b/share/machdeps/machdep_gcc_x86_32.yaml
index 31a960d7521ba9cce0d6221d3619f6b54d09cfb5..911e754b71fe9a7e6a19e9609adc35e19784d23c 100644
--- a/share/machdeps/machdep_gcc_x86_32.yaml
+++ b/share/machdeps/machdep_gcc_x86_32.yaml
@@ -103,6 +103,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -110,6 +111,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_gcc_x86_64.yaml b/share/machdeps/machdep_gcc_x86_64.yaml
index f87a36a25969e45bc8386c122a79788241dcda1f..f504c136e0185bb38e35038b75e670ffd3c2b543 100644
--- a/share/machdeps/machdep_gcc_x86_64.yaml
+++ b/share/machdeps/machdep_gcc_x86_64.yaml
@@ -103,6 +103,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -110,6 +111,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_ppc_32.yaml b/share/machdeps/machdep_ppc_32.yaml
index 3236aa762f2906b0b96eda55a47735bec7423799..46b460e5ba1afcc84c8060f7c9d5510907fc7331 100644
--- a/share/machdeps/machdep_ppc_32.yaml
+++ b/share/machdeps/machdep_ppc_32.yaml
@@ -105,6 +105,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -112,6 +113,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_x86_16.yaml b/share/machdeps/machdep_x86_16.yaml
index 119373b99430958aa84405b70758ec814a72db5b..3d6cd2109e191045a9d6c250e00a1e320cb8976b 100644
--- a/share/machdeps/machdep_x86_16.yaml
+++ b/share/machdeps/machdep_x86_16.yaml
@@ -101,6 +101,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -108,6 +109,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_x86_32.yaml b/share/machdeps/machdep_x86_32.yaml
index 6cee4a37cb6e269d81913c8a62955f3816fadb93..12db8ccfb9179ae1121d01b7c9e2af480f1b6e2b 100644
--- a/share/machdeps/machdep_x86_32.yaml
+++ b/share/machdeps/machdep_x86_32.yaml
@@ -103,6 +103,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -110,6 +111,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/machdep_x86_64.yaml b/share/machdeps/machdep_x86_64.yaml
index a9d4dfcb7c43ea0d1b8c8b96867926737c845fed..fc5f83a43c491e5312ced4a60a7702022892a4cb 100644
--- a/share/machdeps/machdep_x86_64.yaml
+++ b/share/machdeps/machdep_x86_64.yaml
@@ -103,6 +103,7 @@ errno:
     enotconn: '107'
     enotdir: '20'
     enotempty: '39'
+    enotrecoverable: '131'
     enotsock: '88'
     enotsup: '95'
     enotty: '25'
@@ -110,6 +111,7 @@ errno:
     enxio: '6'
     eopnotsupp: '95'
     eoverflow: '75'
+    eownerdead: '130'
     eperm: '1'
     epfnosupport: '96'
     epipe: '32'
diff --git a/share/machdeps/make_machdep/errno.c b/share/machdeps/make_machdep/errno.c
index 34edccd40ff53b65522e7c0ce606802245d59b95..f3b2b39d00d66bd108b9a1d9450769e3fb8e964b 100644
--- a/share/machdeps/make_machdep/errno.c
+++ b/share/machdeps/make_machdep/errno.c
@@ -20,6 +20,7 @@
 /*                                                                        */
 /**************************************************************************/
 
+#include <asm-generic/errno.h>
 #include <errno.h>
 
 /* Mandatory */
@@ -280,6 +281,9 @@ int enotdir_is = ENOTDIR;
 #ifdef ENOTEMPTY
 int enotempty_is = ENOTEMPTY;
 #endif
+#ifdef ENOTRECOVERABLE
+int enotrecoverable_is = ENOTRECOVERABLE;
+#endif
 #ifdef ENOTSOCK
 int enotsock_is = ENOTSOCK;
 #endif
@@ -301,6 +305,9 @@ int eopnotsupp_is = EOPNOTSUPP;
 #ifdef EOVERFLOW
 int eoverflow_is = EOVERFLOW;
 #endif
+#ifdef EOWNERDEAD
+int eownerdead_is = EOWNERDEAD;
+#endif
 #ifdef EPERM
 int eperm_is = EPERM;
 #endif