1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

Use correct <fcntl.h> include

* `<sys/fcntl.h>` is not specified in POSIX

(cherry picked from commit f8d54f7810aeea5ff27a5db03e1aab7ea54c8268)
(cherry picked from commit d57080b6229b45802fed997bd53add0df4c7ec00)
(cherry picked from commit 4337053b230b6a0f00a5623d1129d5dcf4a178bd)
(cherry picked from commit 126aa3cfe5be570213bcbf699d9573cd34c5bff7)
This commit is contained in:
David Seifert 2021-08-02 12:41:38 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 4773e91b20
commit ef0adedcb1

View File

@ -2,11 +2,11 @@
#pragma once
#include <dirent.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
#include <sys/types.h>
#include "macro.h"