AROS: getting closer to link. only a handful of missing symbols now

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2013-04-11 18:37:05 -07:00
parent d7c6e9aaa9
commit e77d093c37
3 changed files with 14 additions and 0 deletions

View File

@ -23,6 +23,15 @@
#undef poll
/* unix device major/minor numbers dont make much sense on amiga */
int major(int i)
{
return 1;
}
int minor(int i)
{
return 2;
}
int aros_poll(struct pollfd *fds, unsigned int nfds, int timo)
{

View File

@ -3,6 +3,7 @@
#include <netinet/in.h>
#include <sys/mount.h>
#include <proto/socket.h>
#define statvfs statfs

View File

@ -36,6 +36,10 @@
#include "libnfs-raw.h"
#include "libnfs-private.h"
#ifdef AROS
#include "aros_compat.h"
#endif
struct rpc_pdu *rpc_allocate_pdu(struct rpc_context *rpc, int program, int version, int procedure, rpc_cb cb, void *private_data, zdrproc_t zdr_decode_fn, int zdr_decode_bufsize)
{
struct rpc_pdu *pdu;