summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-12 23:31:52 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-12 23:31:52 -0400
commit7db6a871ca14b5a8e303e8b1819955970c79d034 (patch)
tree54d0c837e0c6a67bb8e71f453536e446f5033118
parentc3dbe9b22c93c187d806f5def44da5b47744923c (diff)
downloadmusl-7db6a871ca14b5a8e303e8b1819955970c79d034.tar.gz
some gnu junk in netdb.h
-rw-r--r--include/netdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 5f1dd3f1..6e181b6e 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -138,6 +138,14 @@ struct hostent *gethostbyname2(const char *, int);
int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *);
int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **);
int getservbyname_r(const char *, const char *, struct servent *, char *, size_t, struct servent **);
+#define EAI_NODATA -5
+#define EAI_ADDRFAMILY -9
+#define EAI_INPROGRESS -100
+#define EAI_CANCELED -101
+#define EAI_NOTCANCELED -102
+#define EAI_ALLDONE -103
+#define EAI_INTR -104
+#define EAI_IDN_ENCODE -105
#endif