The patches for 3.1.1pre2.
[rsync-patches.git] / tru64.diff
1 This is an adapted version of the original by Zoong Pham.
2
3 To use this patch, run these commands for a successful build:
4
5     patch -p1 <patches/tru64.diff
6     ./configure                          (optional if already run)
7     make
8
9 based-on: 4c8eb5f9511dd1393b147c4e993ee15448faedf5
10 diff --git a/syscall.c b/syscall.c
11 --- a/syscall.c
12 +++ b/syscall.c
13 @@ -23,6 +23,7 @@
14  #include "rsync.h"
15  
16  #if !defined MKNOD_CREATES_SOCKETS && defined HAVE_SYS_UN_H
17 +#define _SOCKADDR_LEN
18  #include <sys/un.h>
19  #endif
20  #ifdef HAVE_SYS_ATTR_H