From a35da1c76eb606e3945deeaef5b7081fdd50cff8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 1 May 2006 17:04:20 +0000 Subject: [PATCH] Moved the inclusion of the ACL include files from rsync.h into lib/sysacls.h. --- acls.diff | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/acls.diff b/acls.diff index 7aad210..39fef28 100644 --- a/acls.diff +++ b/acls.diff @@ -5496,7 +5496,12 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync. +} --- old/lib/sysacls.h +++ new/lib/sysacls.h -@@ -0,0 +1,28 @@ +@@ -0,0 +1,33 @@ ++#if defined SUPPORT_ACLS && defined HAVE_SYS_ACL_H ++#include ++#endif ++#include "smb_acls.h" ++ +#define SMB_MALLOC(cnt) new_array(char, cnt) +#define SMB_MALLOC_P(obj) new_array(obj, 1) +#define SMB_MALLOC_ARRAY(obj, cnt) new_array(obj, cnt) @@ -5900,15 +5905,10 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync. #include "byteorder.h" #include "lib/mdfour.h" #include "lib/wildmatch.h" -@@ -660,6 +680,21 @@ struct chmod_mode_struct; +@@ -660,6 +680,16 @@ struct chmod_mode_struct; #define UNUSED(x) x __attribute__((__unused__)) -+#if defined SUPPORT_ACLS && defined HAVE_SYS_ACL_H -+#include -+#endif -+#include "smb_acls.h" -+ +typedef struct { + STRUCT_STAT st; +#ifdef SUPPORT_ACLS -- 2.34.1