From 2f7c98e109b04b060649f37d5f0be67e2bd2228b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 12 Mar 2016 15:56:40 -0600 Subject: The xattr functions were added during the 2.5 kernel, lsm.h can #include the header unconditionally. (This fixes the warning when CP_PRESERVE disabled.) --- lib/lsm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/lsm.h') diff --git a/lib/lsm.h b/lib/lsm.h index d7e7de9c..3a5b7ebf 100644 --- a/lib/lsm.h +++ b/lib/lsm.h @@ -3,6 +3,8 @@ * Copyright 2015 Rob Landley */ +#include + #if CFG_TOYBOX_SELINUX #include #else @@ -19,7 +21,6 @@ #if CFG_TOYBOX_SMACK #include -#include #include #else #define XATTR_NAME_SMACK 0 -- cgit v1.2.3