AROS: it is called IoctlSocket/CloseSocket and WaitSelect on AROS.
[deb_libnfs.git] / aros / aros_compat.h
index 9568299ea6caf21e758a87a845281721fc4bdb34..d5b2d73274ee0a85f045a1acd8d6eb4675838a40 100644 (file)
@@ -4,8 +4,15 @@
 #include <netinet/in.h>
 #include <sys/mount.h>
 #include <proto/socket.h>
+#include <proto/exec.h>
 
 #define statvfs statfs
+#define ioctl IoctlSocket
+#define close CloseSocket
+
+extern struct Library * SocketBase;
+
+void aros_init_socket(void);
 
 #define f_flag    f_flags
 #define f_favail  f_ffree