#include <arpa/inet.h> instead of rolling own prototype.

This commit is contained in:
Peter Wemm 1998-06-12 14:58:03 +00:00
parent ca979f0fa6
commit d1d9ad56a9

View File

@ -10,6 +10,7 @@
#include <sys/time.h>
#ifndef __bsdi__
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#if defined(__bsdi__) || defined(SYS_NETBSD) || defined(SYS_FREEBSD) || defined(SYS_AIX)
#include <sys/ioctl.h>
@ -149,9 +150,6 @@ static RETSIGTYPE sigio_handler P((int));
static void block_sigio P((void));
static void unblock_sigio P(());
#endif
#ifndef STREAMS_TLI
extern char *inet_ntoa P((struct in_addr));
#endif /* STREAMS_TLI */
/*
* init_io - initialize I/O data structures and call socket creation routine