aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 04:17:05 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-01-29 11:32:22 -0600
commitc80d6bb2ed3538f4c329607f5e2e9504d56aac9c (patch)
tree8782d99150fb1a11c64047eff6943a8d8197454e /src
parentbfe38c98a8affefd074bea7537412ffe88bae0b6 (diff)
checkpath: missing includes from IWYU
Diffstat (limited to 'src')
-rw-r--r--src/checkpath/checkpath.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/checkpath/checkpath.c b/src/checkpath/checkpath.c
index 735be758..4a9f98ba 100644
--- a/src/checkpath/checkpath.c
+++ b/src/checkpath/checkpath.c
@@ -17,25 +17,24 @@
*/
#define _GNU_SOURCE
-#include <sys/types.h>
-#include <sys/stat.h>
-
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <grp.h>
-#include <libgen.h>
#include <pwd.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
#include "einfo.h"
-#include "rc.h"
#include "misc.h"
#include "selinux.h"
#include "_usage.h"
+#include "helpers.h"
typedef enum {
inode_unknown = 0,