Aros fixes

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2013-05-28 22:41:54 -07:00
parent 265276038a
commit 0556ee05e1
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#include <proto/exec.h>
#include <netdb.h>
#include <net/if.h>
#include <netinet/in.h>
#define statvfs statfs
#define ioctl IoctlSocket
@ -38,6 +39,11 @@ void aros_init_socket(void);
#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 */

View File

@ -24,6 +24,10 @@
#include "win32_compat.h"
#endif
#ifdef AROS
#include "aros_compat.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <time.h>