setfiles: fix build failure after common_bufsiz change 1_25_stable
authorMike Frysinger <vapier@gentoo.org>
Fri, 9 Dec 2016 23:14:12 +0000 (18:14 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 9 Dec 2016 23:16:44 +0000 (18:16 -0500)
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>
(cherry picked from commit 1cda8790803a6fb072375c8fa53273333d2d4607)

selinux/setfiles.c

index 51a7e63bd741376f7dcb330e9622ba0c761f52a2..d8083d4fd580cb50fd99270a4b13b4a4ad706f93 100644 (file)
@@ -46,6 +46,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