Update Makefile.in so that all targets that use syscall.o now include
[rsync/rsync-patches.git] / tru64.diff
CommitLineData
9bb5ff6c
WD
1Depends-On-Patch: mkfifo.diff
2
2c8f6e6e 3This is an adapted version of the original by Zoong Pham.
fbc35144 4
13bed3dd
WD
5--- orig/lib/getaddrinfo.c 2004-03-16 01:26:36
6+++ lib/getaddrinfo.c 2004-06-18 17:38:35
7@@ -41,6 +41,20 @@
8
9 #include <rsync.h>
10
11+/****** Start Zoong added here */
12+
13+#define EAI_BADHINTS 12
14+#define EAI_PROTOCOL 13
15+#define EAI_MAX 14
16+
17+#define AI_PASSIVE 0x00000001 /* get address to use bind() */
18+#define AI_CANONNAME 0x00000002 /* fill ai_canonname */
19+#define AI_NUMERICHOST 0x00000004 /* prevent name resolution */
20+#define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
21+
22+/****** End Zoong added here */
23+
24+
25 #if defined(__KAME__) && defined(INET6)
26 # define FAITH
27 #endif
9bb5ff6c 28--- orig/rsync.h 2004-07-03 20:23:33
13bed3dd 29+++ rsync.h 2004-07-03 20:23:33
9bb5ff6c 30@@ -164,6 +164,7 @@ enum msgcode {
fbc35144
MP
31 #endif
32
9bb5ff6c 33 #ifdef HAVE_SYS_UN_H
fbc35144 34+#define _SOCKADDR_LEN
9bb5ff6c 35 #include <sys/un.h>
2c8f6e6e 36 #endif
9bb5ff6c 37