Aros fixes
parent
265276038a
commit
0556ee05e1
|
@ -10,6 +10,7 @@
|
||||||
#include <proto/exec.h>
|
#include <proto/exec.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
#define statvfs statfs
|
#define statvfs statfs
|
||||||
#define ioctl IoctlSocket
|
#define ioctl IoctlSocket
|
||||||
|
@ -38,6 +39,11 @@ void aros_init_socket(void);
|
||||||
#define POLLHUP 0x0010 /* Hung up */
|
#define POLLHUP 0x0010 /* Hung up */
|
||||||
#define POLLNVAL 0x0020 /* Invalid request: fd not open */
|
#define POLLNVAL 0x0020 /* Invalid request: fd not open */
|
||||||
|
|
||||||
|
struct utimbuf {
|
||||||
|
int actime;
|
||||||
|
int modtime;
|
||||||
|
};
|
||||||
|
|
||||||
struct pollfd {
|
struct pollfd {
|
||||||
int fd; /* file descriptor */
|
int fd; /* file descriptor */
|
||||||
short events; /* requested events */
|
short events; /* requested events */
|
||||||
|
|
|
@ -24,6 +24,10 @@
|
||||||
#include "win32_compat.h"
|
#include "win32_compat.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef AROS
|
||||||
|
#include "aros_compat.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
Loading…
Reference in New Issue