repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add configure checks for whether netinet/in.h is available or not
[deb_libnfs.git]
/
aros
/
aros_compat.h
diff --git
a/aros/aros_compat.h
b/aros/aros_compat.h
index d5b2d73274ee0a85f045a1acd8d6eb4675838a40..e882967a6ee2e2ad14ab4ef867aab44e2d56a268 100644
(file)
--- a/
aros/aros_compat.h
+++ b/
aros/aros_compat.h
@@
-1,6
+1,9
@@
#ifndef AROS_COMPAT_H
#define AROS_COMPAT_H
#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 <netinet/in.h>
#include <sys/mount.h>
#include <proto/socket.h>
@@
-10,6
+13,11
@@
#define ioctl IoctlSocket
#define close CloseSocket
#define ioctl IoctlSocket
#define close CloseSocket
+#define inet_pton aros_inet_pton
+#define freeaddrinfo aros_freeaddrinfo
+#define getnameinfo aros_getnameinfo
+#define getaddrinfo aros_getaddrinfo
+
extern struct Library * SocketBase;
void aros_init_socket(void);
extern struct Library * SocketBase;
void aros_init_socket(void);