31#ifndef _NETSURF_UTILS_INET_H_
32#define _NETSURF_UTILS_INET_H_
36#ifdef HAVE_POSIX_INET_HEADERS
38#include <sys/socket.h>
39#include <netinet/in.h>
41#include <sys/select.h>
43#define ns_close_socket close
47#include <proto/bsdsocket.h>
49#define ns_close_socket CloseSocket
58#define EAFNOSUPPORT WSAEAFNOSUPPORT
61#define ns_close_socket closesocket
67int inet_aton(
const char *cp,
struct in_addr *inp);
71int inet_pton(
int af,
const char *src,
void *dst);
int inet_aton(const char *cp, struct in_addr *inp)
int inet_pton(int af, const char *src, void *dst)