From 9bbf7e64b6722b1ad1ffee689684abb0f648e1b8 Mon Sep 17 00:00:00 2001 From: Mahmood Shafeie Zargar Date: Tue, 1 Sep 2015 00:52:42 -0400 Subject: Minor patches for MacOSX compilation --- src/bindfs.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/bindfs.c b/src/bindfs.c index 8abe523..4a180a2 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -74,6 +74,16 @@ #include "userinfo.h" #include "usermap.h" +/* Apple Structs */ + +#include + +#define G_PREFIX "org" +#define G_KAUTH_FILESEC_XATTR G_PREFIX ".apple.system.Security" +#define A_PREFIX "com" +#define A_KAUTH_FILESEC_XATTR A_PREFIX ".apple.system.Security" +#define XATTR_APPLE_PREFIX "com.apple." + /* SETTINGS */ static struct Settings { const char *progname; -- cgit v1.2.3