| 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: a01e3b490eb36ccf9e704840e1b6683dab867550 |
| 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 |