summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 96358bd85..84191b68d 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -175,6 +175,8 @@ void setprotoent __P((int));
void setservent __P((int));
void setrpcent __P((int));
+#define hstrerror(x) strerror(x)
+
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT)
struct hostent *gethostbyaddr_r __P((const char *__addr,
int __length, int __type,