diff --git a/userspace/libraries/LibC/include/netdb.h b/userspace/libraries/LibC/include/netdb.h index bd0154e2..466e034e 100644 --- a/userspace/libraries/LibC/include/netdb.h +++ b/userspace/libraries/LibC/include/netdb.h @@ -42,6 +42,11 @@ __BEGIN_DECLS #define EAI_SYSTEM 9 #define EAI_OVERFLOW 10 +#define HOST_NOT_FOUND 1 +#define NO_DATA 2 +#define NO_RECOVERY 3 +#define TRY_AGAIN 4 + struct hostent { char* h_name; /* Official name of the host. */ diff --git a/userspace/libraries/LibC/include/signal.h b/userspace/libraries/LibC/include/signal.h index 89674506..47995a18 100644 --- a/userspace/libraries/LibC/include/signal.h +++ b/userspace/libraries/LibC/include/signal.h @@ -108,6 +108,8 @@ struct sigevent #define SIGRTMIN 30 #define SIGRTMAX (SIGRTMIN+32) +#define NSIG SIGRTMAX + #define SI_USER 10 #define SI_QUEUE 11 #define SI_TIMER 12