[git commit branch/1_25_stable] setfiles: fix build failure after common_bufsiz change

Mike Frysinger vapier at gentoo.org
Fri Dec 9 23:16:44 UTC 2016

commit: https://git.busybox.net/busybox/commit/?id=c1704a34745f8e49373eb2cbe1c83199ab2d0091
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/1_25_stable

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 at stusta.net>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
(cherry picked from commit 1cda8790803a6fb072375c8fa53273333d2d4607)
 selinux/setfiles.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 51a7e63bd741..d8083d4fd580 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -46,6 +46,7 @@
 //usage:     "\n		if it has changed"
 #include "libbb.h"
+#include "common_bufsiz.h"
 #include <sepol/sepol.h>

More information about the busybox-cvs mailing list