Updated patches to work with the current trunk.
[rsync/rsync-patches.git] / tru64.diff
... / ...
CommitLineData
1This is an adapted version of the original by Zoong Pham.
2
3To 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
9based-on: 24079e988fc31af4eba56cd2701fdc5a4154980d
10diff --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