summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-11 09:50:54 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-11 09:50:54 -0500
commitcabf2ff349183eca9ebc0a7b16d0223c193a013a (patch)
treee2383cdd2bb036f4d80399be8aa34ff3310a0d81 /arch
parentf1821fce81bffa61a78639527bde2a34db45244f (diff)
downloadmusl-cabf2ff349183eca9ebc0a7b16d0223c193a013a.tar.gz
musl-cabf2ff349183eca9ebc0a7b16d0223c193a013a.tar.bz2
musl-cabf2ff349183eca9ebc0a7b16d0223c193a013a.tar.xz
musl-cabf2ff349183eca9ebc0a7b16d0223c193a013a.zip
fix missing ENOTSUP error code
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/bits/errno.h1
-rw-r--r--arch/x86_64/bits/errno.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/bits/errno.h b/arch/i386/bits/errno.h
index ec3d3633..c75720ef 100644
--- a/arch/i386/bits/errno.h
+++ b/arch/i386/bits/errno.h
@@ -93,6 +93,7 @@
#define EPROTONOSUPPORT 93
#define ESOCKTNOSUPPORT 94
#define EOPNOTSUPP 95
+#define ENOTSUP EOPNOTSUPP
#define EPFNOSUPPORT 96
#define EAFNOSUPPORT 97
#define EADDRINUSE 98
diff --git a/arch/x86_64/bits/errno.h b/arch/x86_64/bits/errno.h
index ec3d3633..c75720ef 100644
--- a/arch/x86_64/bits/errno.h
+++ b/arch/x86_64/bits/errno.h
@@ -93,6 +93,7 @@
#define EPROTONOSUPPORT 93
#define ESOCKTNOSUPPORT 94
#define EOPNOTSUPP 95
+#define ENOTSUP EOPNOTSUPP
#define EPFNOSUPPORT 96
#define EAFNOSUPPORT 97
#define EADDRINUSE 98