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;