#ifndef AROS_COMPAT_H
#define AROS_COMPAT_H
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/ioctl.h>
#include <netinet/in.h>
#include <sys/mount.h>
#include <proto/socket.h>
#define ioctl IoctlSocket
#define close CloseSocket
+#define inet_pton aros_inet_pton
+#define freeaddrinfo aros_freeaddrinfo
+#define getnameinfo aros_getnameinfo
+#define getaddrinfo aros_getaddrinfo
+
extern struct Library * SocketBase;
void aros_init_socket(void);