From 4910b36d0447deb57fe15cf13cf904c46fe70899 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 8 Sep 2004 03:07:17 +0000 Subject: Doh! As noted by Mike Frysinger I was too agressive at culling stuff --- include/netdb.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/netdb.h b/include/netdb.h index 084a604ee..4a48d0b97 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -414,6 +414,13 @@ struct addrinfo # define EAI_ADDRFAMILY -9 /* Address family for NAME not supported. */ # define EAI_MEMORY -10 /* Memory allocation failure. */ # define EAI_SYSTEM -11 /* System error returned in `errno'. */ +# ifdef __USE_GNU +# define EAI_INPROGRESS -100 /* Processing request in progress. */ +# define EAI_CANCELED -101 /* Request canceled. */ +# define EAI_NOTCANCELED -102 /* Request not canceled. */ +# define EAI_ALLDONE -103 /* All requests done. */ +# define EAI_INTR -104 /* Interrupted by a signal. */ +# endif # define NI_MAXHOST 1025 # define NI_MAXSERV 32 -- cgit v1.2.3