Include more headers explicitly (#38169)

Similar to the recent change like
4f18ff2e29.
This commit is contained in:
Yu Watanabe
2025-07-11 20:21:33 +09:00
committed by GitHub
5 changed files with 18 additions and 1 deletions
@@ -44,6 +44,10 @@ HEADER = '''\
#include_next <sys/syscall.h>
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
#include <assert.h>
'''
+4
View File
@@ -8,6 +8,10 @@
#include_next <sys/syscall.h>
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
#include <assert.h>
/* Note: if this code looks strange, this is because it is derived from the same
+4
View File
@@ -5,6 +5,10 @@
#include <syslog.h>
#include <unistd.h>
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
#include "alloc-util.h"
#include "base-filesystem.h"
#include "errno-util.h"
+2 -1
View File
@@ -1,7 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <sys/quota.h> /* IWYU pragma: export */
#include <linux/quota.h> /* IWYU pragma: export */
#include <sys/quota.h> /* IWYU pragma: export */
#include "forward.h"
+4
View File
@@ -8,6 +8,10 @@
#include <sys/shm.h>
#include <sys/stat.h>
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
#include "af-list.h"
#include "alloc-util.h"
#include "env-util.h"