aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/include/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/netdb.h b/system/include/netdb.h
index fa71f58f..8860a14a 100644
--- a/system/include/netdb.h
+++ b/system/include/netdb.h
@@ -101,7 +101,7 @@ struct hostent
struct hostent* gethostbyaddr(const void* addr, socklen_t len, int type);
struct hostent* gethostbyname(const char* name);
-struct hostent* gethostbyname_r(const char *name, struct hostent *ret, char *buf, size_t buflen, int *err); // XXX not quite standard, see http://linux.die.net/man/3/gethostbyname_r
+struct hostent* gethostbyname_r(const char *name, struct hostent *ret, char *buf, int buflen, int *err); // XXX not quite standard, see http://linux.die.net/man/3/gethostbyname_r
void sethostent(int stayopen);
void endhostent(void);
void herror(const char* s);