Browse Source

Doh! As noted by Mike Frysinger I was too agressive at culling stuff

Eric Andersen 20 years ago
parent
commit
4910b36d04
1 changed files with 7 additions and 0 deletions
  1. 7 0
      include/netdb.h

+ 7 - 0
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