aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index a049e7a6..932752c6 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -180,6 +180,10 @@ int clearenv(void);
#include <pty.h>
#endif
+#ifndef __FreeBSD__
+#include <sys/xattr.h>
+#endif
+
// Android is missing some headers and functions
// "generated/config.h" is included first
#if CFG_TOYBOX_SHADOW