From d79486109a4325560d12874167a6438e9c43e127 Mon Sep 17 00:00:00 2001 From: circl Date: Sun, 8 May 2022 21:24:33 +0200 Subject: [PATCH] LibC: Add missing macro definitions for errno codes --- Userland/Libraries/LibC/errno_codes.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibC/errno_codes.h b/Userland/Libraries/LibC/errno_codes.h index 9a51baa30d..6362446074 100644 --- a/Userland/Libraries/LibC/errno_codes.h +++ b/Userland/Libraries/LibC/errno_codes.h @@ -9,6 +9,7 @@ #include // NOTE: You can't define with a macro, so these have to be duplicated. +#define ESUCCESS ESUCCESS #define EPERM EPERM #define ENOENT ENOENT #define ESRCH ESRCH @@ -74,8 +75,8 @@ #define ENOTCONN ENOTCONN #define ESHUTDOWN ESHUTDOWN #define ETOOMANYREFS ETOOMANYREFS -#define EPROTONOSUPPORT EPROTONOSUPPORT #define ESOCKTNOSUPPORT ESOCKTNOSUPPORT +#define EPROTONOSUPPORT EPROTONOSUPPORT #define EDEADLK EDEADLK #define ETIMEDOUT ETIMEDOUT #define EPROTOTYPE EPROTOTYPE @@ -84,10 +85,12 @@ #define EPROTO EPROTO #define ENOTSUP ENOTSUP #define EPFNOSUPPORT EPFNOSUPPORT -#define EDQUOT EDQUOT #define EDIRINTOSELF EDIRINTOSELF +#define EDQUOT EDQUOT #define ENOTRECOVERABLE ENOTRECOVERABLE #define ECANCELED ECANCELED +#define EPROMISEVIOLATION EPROMISEVIOLATION +#define ESTALE ESTALE #define EMAXERRNO EMAXERRNO #define EWOULDBLOCK EAGAIN