diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-05 23:12:19 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-05 23:12:19 +0000 |
commit | 4d76e4b4b06e50f8d4823ad3dd37d8c202e442e0 (patch) | |
tree | 42e80c4d0b532e8dabd0caf3a49266b92693d85d /NetWare/nw5sck.c | |
parent | b15a22ab7111cb08cbc38a0a816e11f3fc34a386 (diff) | |
download | perl-4d76e4b4b06e50f8d4823ad3dd37d8c202e442e0.tar.gz |
NetWare update from Ananth Kesari.
p4raw-id: //depot/perl@14567
Diffstat (limited to 'NetWare/nw5sck.c')
-rw-r--r-- | NetWare/nw5sck.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/NetWare/nw5sck.c b/NetWare/nw5sck.c index c1a42fea80..91b8afd14b 100644 --- a/NetWare/nw5sck.c +++ b/NetWare/nw5sck.c @@ -25,6 +25,11 @@ #include <fcntl.h> #include <sys/stat.h> +// This is defined here since arpa\inet.h defines this array as an extern, +// and arpa\inet.h gets included by the inet_ntoa call. +char nwinet_scratch[18] = {'\0'}; + + u_long nw_htonl(u_long hostlong) { @@ -225,6 +230,12 @@ nw_inet_addr(const char *cp) return inet_addr((char*)cp); } +char * +nw_inet_ntoa(struct in_addr in) +{ + return inet_ntoa(in); +} + SOCKET nw_socket(int af, int type, int protocol) { |