From d4bb8f3e0d5416660f4d940281de67d4953b6f62 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sun, 27 Nov 2016 15:09:35 -0500 Subject: [PATCH] freebsd/aix xattr includes --- src/host_fst.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/host_fst.c b/src/host_fst.c index d8549f4..4a6efa4 100644 --- a/src/host_fst.c +++ b/src/host_fst.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "defc.h" #include "gsos.h" @@ -23,14 +24,18 @@ #include #endif - - - #if defined(__linux__) #include -#include #endif +#if defined(__FreeBSD__) +#include +#include +#endif + +#if defined(_AIX) +#include +#endif #ifndef XATTR_FINDERINFO_NAME #define XATTR_FINDERINFO_NAME "com.apple.FinderInfo" @@ -40,9 +45,6 @@ #define XATTR_RESOURCEFORK_NAME "com.apple.ResourceFork" #endif -#ifndef O_BINARY -#define O_BINARY 0 -#endif extern Engine_reg engine;