summaryrefslogtreecommitdiffhomepage
path: root/selinux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-12-09 18:14:12 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-09 18:14:12 -0500
commit1cda8790803a6fb072375c8fa53273333d2d4607 (patch)
treed7f1397ec4780775af941ee52ce0916c6f1f2d52 /selinux
parent2098c3511cfa0e79c5d6e19e41a74ef19bcf91af (diff)
setfiles: fix build failure after common_bufsiz change
Commit 47cfbf32fd66563f8c4e09ad6cced6abfbe2fad5 ("*: add most of the required setup_common_bufsiz() calls") switched this tool over to use the common_bufsiz logic but missed including the header leading to a build failure when enabled: selinux/setfiles.c:80:30: error: 'bb_common_bufsiz1' undeclared (first use in this function) URL: https://bugs.gentoo.org/600106 Reported-by: Jonas Jelten <jj@stusta.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/setfiles.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 4fc307f55..9fa5d3f30 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -77,6 +77,7 @@
//usage: "\n if it has changed"
#include "libbb.h"
+#include "common_bufsiz.h"
#if ENABLE_FEATURE_SETFILES_CHECK_OPTION
#include <sepol/sepol.h>
#endif