#include "format-util.h"
#include "fs-util.h"
#include "log.h"
-#include "missing_fcntl.h"
#include "missing_syscall.h"
#include "mountpoint-util.h"
#include "parse-util.h"
* and since we refuse O_PATH it should be safe.
*
* RAW_O_LARGEFILE: glibc secretly sets this and neglects to hide it from us if we call fcntl.
- * See comment in missing_fcntl.h for more details about this.
+ * See comment in src/basic/include/fcntl.h for more details about this.
*
* If 'extra_flags' is specified as non-zero the included flags are also allowed.
*/
#pragma once
#include <dirent.h>
+#include <fcntl.h>
#include <stdio.h>
#include "forward.h"
-#include "missing_fcntl.h"
/* maximum length of fdname */
#define FDNAME_MAX 255
#include "label.h"
#include "lock-util.h"
#include "log.h"
-#include "missing_fcntl.h"
#include "missing_syscall.h"
#include "mkdir.h"
#include "path-util.h"
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
-#include <fcntl.h> /* IWYU pragma: export */
+#include_next <fcntl.h>
/* This is defined since glibc-2.41. */
#ifndef F_DUPFD_QUERY
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include <fcntl.h>
#include <features.h>
#include <linux/fs.h>
#include <linux/mount.h> /* IWYU pragma: export */
#include <sys/syscall.h>
#include <unistd.h>
-#include "missing_fcntl.h"
#include "missing_syscall_def.h"
/* Since glibc-2.37 (774058d72942249f71d74e7f2b639f77184160a6), sys/mount.h includes linux/mount.h, and
#include "glyph-util.h"
#include "locale-util.h"
#include "manager.h"
-#include "missing_fcntl.h"
#include "mount-util.h"
#include "open-file.h"
#include "path-util.h"
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include <fcntl.h>
+
#include "compress.h"
#include "forward.h"
#include "gcrypt-util.h"
#include "journal-def.h"
-#include "missing_fcntl.h"
#include "mmap-cache.h"
#include "sparse-endian.h"