Use "use warnings" rather than -w on the #! line.
[rsync/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 diff --git a/syscall.c b/syscall.c
10 --- a/syscall.c
11 +++ b/syscall.c
12 @@ -23,6 +23,7 @@
13  #include "rsync.h"
14  
15  #if !defined MKNOD_CREATES_SOCKETS && defined HAVE_SYS_UN_H
16 +#define _SOCKADDR_LEN
17  #include <sys/un.h>
18  #endif
19  #ifdef HAVE_SYS_ATTR_H