* Copyright 2015 Rob Landley <rob@landley.net>
*/
-#ifndef BUILD_FOR_HOST
+#include <sys/xattr.h>
#if CFG_TOYBOX_SELINUX
#include <selinux/selinux.h>
#if CFG_TOYBOX_SMACK
#include <sys/smack.h>
-#include <sys/xattr.h>
#include <linux/xattr.h>
#else
#define XATTR_NAME_SMACK 0
return smack_new_label_from_file(file, XATTR_NAME_SMACK, context);
return fgetfilecon(file, context);
}
-
-#endif // BUILD_FOR_HOST