Add ENOTSUP
PATCH 1/1 Add ENOTSUP
Add missing ENOTSUP by defining it to EOPNOTSUPP like in Linux.
Signed-off-by Samuel Thibault <[email protected]>
extras/mini-os/include/errno.h +1 -0
@@ -66,6 +66,7 @@#define EPROTONOSUPPORT 93/* Protocol not supported */ #define ESOCKTNOSUPPORT 94/* Socket type not supported */ #define EOPNOTSUPP 95/* Operation not supported on transport endpoint */ +#define ENOTSUP EOPNOTSUPP#define EPFNOSUPPORT 96/* Protocol family not supported */ #define EAFNOSUPPORT 97/* Address family not supported by protocol */ #define EADDRINUSE 98/* Address already in use */