aboutsummaryrefslogtreecommitdiff
path: root/lib/lsm.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-10 23:27:55 -0600
committerRob Landley <rob@landley.net>2016-02-10 23:27:55 -0600
commitdf07fb73be98dc1087346c184877666970a88f4a (patch)
tree32771caccb0008ccced29c99dbeeab0cef88f5ec /lib/lsm.h
parent187649de817b618c967d234f0707008e90e52504 (diff)
downloadtoybox-df07fb73be98dc1087346c184877666970a88f4a.tar.gz
Wean scripts/install.c off toys.h so cross compiling less brittle.
Diffstat (limited to 'lib/lsm.h')
-rw-r--r--lib/lsm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/lsm.h b/lib/lsm.h
index aacabe08..d7e7de9c 100644
--- a/lib/lsm.h
+++ b/lib/lsm.h
@@ -3,8 +3,6 @@
* Copyright 2015 Rob Landley <rob@landley.net>
*/
-#ifndef BUILD_FOR_HOST
-
#if CFG_TOYBOX_SELINUX
#include <selinux/selinux.h>
#else
@@ -115,5 +113,3 @@ static inline int lsm_fget_context(int file, char **context)
return smack_new_label_from_file(file, XATTR_NAME_SMACK, context);
return fgetfilecon(file, context);
}
-
-#endif // BUILD_FOR_HOST