1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

- Fix build on AMD64

This commit is contained in:
Kirill Ponomarev 2004-03-05 10:27:49 +00:00
parent 470b67fe4d
commit 862c69e749
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102990

View File

@ -4,7 +4,7 @@
extern "C" {
#endif
+#ifdef __sparc64__ || __amd64__ || __alpha__
+#if defined(__sparc64__) || defined(__amd64__) || defined(__alpha__) || defined(__ia64__)
+const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
+#else
const char *inet_ntop(int af, const void *src, char *dst, size_t size);