From 05a6556d065717710634a4e469811b9d2fcfc630 Mon Sep 17 00:00:00 2001 From: rsync-bugs Date: Mon, 15 Dec 1997 18:36:21 +0000 Subject: [PATCH] only include sys/mod.h if S_ISLNK is not already defined. This allows things to work on aix without causing broken sgi headers files to spew lots of complaints --- rsync.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rsync.h b/rsync.h index 9790c7ce..e5f73dff 100644 --- a/rsync.h +++ b/rsync.h @@ -146,8 +146,10 @@ #ifdef HAVE_SYS_MODE_H /* apparently AIX needs this for S_ISLNK */ +#ifndef S_ISLNK #include #endif +#endif #ifdef HAVE_FNMATCH #include -- 2.34.1