Fixed a failing hunk.
[rsync-patches.git] / tru64.diff
1 This is an adapted version of the original by Zoong Pham.
2
3 --- orig/lib/getaddrinfo.c      2004-03-16 01:26:36
4 +++ lib/getaddrinfo.c   2004-06-18 17:38:35
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 --- orig/syscall.c      2005-01-28 23:01:10
27 +++ syscall.c   2004-10-06 00:17:22
28 @@ -27,6 +27,7 @@
29  #include "rsync.h"
30  
31  #if !MKNOD_CREATES_SOCKETS && HAVE_SYS_UN_H
32 +#define _SOCKADDR_LEN
33  #include <sys/un.h>
34  #endif
35