From 604132c3d54b58dfd0d0bb314a189cfe925e5444 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 23 Nov 2007 16:42:23 +0000 Subject: [PATCH] [Mini-OS] Add ENOTSUP Add missing ENOTSUP by defining it to EOPNOTSUPP like in Linux. Signed-off-by: Samuel Thibault --- extras/mini-os/include/errno.h | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/mini-os/include/errno.h b/extras/mini-os/include/errno.h index aa45040a27..262ab3e0b4 100644 --- a/extras/mini-os/include/errno.h +++ b/extras/mini-os/include/errno.h @@ -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 */ -- 2.39.5