From aa5c3ccd0b269057c1118ce040319072b28a841f Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 29 Jan 2023 04:18:56 +0000 Subject: mountinfo: missing includes from IWYU --- src/mountinfo/mountinfo.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/mountinfo/mountinfo.c b/src/mountinfo/mountinfo.c index c55b12ab..82018233 100644 --- a/src/mountinfo/mountinfo.c +++ b/src/mountinfo/mountinfo.c @@ -15,15 +15,14 @@ * except according to the terms contained in the LICENSE file. */ -#include -#include - #if defined(__DragonFly__) || defined(__FreeBSD__) # include # include + # define F_FLAGS f_flags #elif defined(BSD) && !defined(__GNU__) # include + # define statfs statvfs # define F_FLAGS f_flag #elif defined(__linux__) || (defined(__FreeBSD_kernel__) && \ @@ -33,17 +32,19 @@ #include #include -#include #include +#include #include +#include #include #include +#include #include "einfo.h" #include "queue.h" #include "rc.h" -#include "misc.h" #include "_usage.h" +#include "helpers.h" const char *applet = NULL; const char *procmounts = "/proc/mounts"; -- cgit v1.2.3