Use "use warnings" rather than -w on the #! line.
[rsync/rsync-patches.git] / tru64.diff
CommitLineData
2c8f6e6e 1This is an adapted version of the original by Zoong Pham.
fbc35144 2
03019e41
WD
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
cc3e685d
WD
9diff --git a/syscall.c b/syscall.c
10--- a/syscall.c
11+++ b/syscall.c
c8a8b4a7 12@@ -23,6 +23,7 @@
a60267ab 13 #include "rsync.h"
fbc35144 14
09fb8f03 15 #if !defined MKNOD_CREATES_SOCKETS && defined HAVE_SYS_UN_H
fbc35144 16+#define _SOCKADDR_LEN
9bb5ff6c 17 #include <sys/un.h>
2c8f6e6e 18 #endif
99397a25 19 #ifdef HAVE_SYS_ATTR_H