#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>
#include <proto/exec.h>
+#include <netdb.h>
+#include <net/if.h>
+#include <netinet/in.h>
#define statvfs statfs
#define ioctl IoctlSocket
#define POLLHUP 0x0010 /* Hung up */
#define POLLNVAL 0x0020 /* Invalid request: fd not open */
+struct utimbuf {
+ int actime;
+ int modtime;
+};
+
struct pollfd {
int fd; /* file descriptor */
short events; /* requested events */