Got rid of a superfluous extern.
[rsync/rsync-patches.git] / tru64.diff
... / ...
CommitLineData
1This is an adapted version of the original by Zoong Pham.
2
3--- old/lib/getaddrinfo.c
4+++ new/lib/getaddrinfo.c
5@@ -41,6 +41,20 @@
6
7 #include <rsync.h>
8
9+/****** Start Zoong added here */
10+
11+#define EAI_BADHINTS 12
12+#define EAI_PROTOCOL 13
13+#define EAI_MAX 14
14+
15+#define AI_PASSIVE 0x00000001 /* get address to use bind() */
16+#define AI_CANONNAME 0x00000002 /* fill ai_canonname */
17+#define AI_NUMERICHOST 0x00000004 /* prevent name resolution */
18+#define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
19+
20+/****** End Zoong added here */
21+
22+
23 #if defined(__KAME__) && defined(INET6)
24 # define FAITH
25 #endif
26--- old/syscall.c
27+++ new/syscall.c
28@@ -27,6 +27,7 @@
29 #include "rsync.h"
30
31 #if !defined MKNOD_CREATES_SOCKETS && defined HAVE_SYS_UN_H
32+#define _SOCKADDR_LEN
33 #include <sys/un.h>
34 #endif
35