diff --git a/libisofs/aaip_0_2.c b/libisofs/aaip_0_2.c index 1fc84e5..a9ec8c9 100644 --- a/libisofs/aaip_0_2.c +++ b/libisofs/aaip_0_2.c @@ -2192,6 +2192,22 @@ ex:; #include "aaip-os-freebsd.c" +#else +#ifdef __FreeBSD_kernel__ + +#ifdef NIX +#ifdef Libisofs_with_aaip_xattR +/* ts B51213: xattr system library calls are only stubs */ +#include "aaip-os-linux.c" +#else +/* ts B51213: extattr system library calls are not even present */ +#include "aaip-os-freebsd.c" +#endif /* ! Libisofs_with_aaip_xattR */ +#else /* NIX */ +/* ts B51213: so we still end up at the dummy */ +#include "aaip-os-dummy.c" +#endif /* ! NIX */ + #else #ifdef __NetBSD__ @@ -2215,5 +2231,6 @@ ex:; #endif /* ! __linux */ #endif /* ! __NetBSD__ */ +#endif /* ! __FreeBSD_kernel__ */ #endif /* ! __FreeBSD__ */