]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Use correct `<fcntl.h>` include
authorDavid Seifert <soap@gentoo.org>
Mon, 2 Aug 2021 10:41:38 +0000 (12:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 2 Aug 2021 12:51:50 +0000 (14:51 +0200)
* `<sys/fcntl.h>` is not specified in POSIX

src/basic/fileio.h

index af797cfafdbf5372a1a8f946c8efdf09d2fb0f77..4295b84a85c59494a091795dc65035471a19164e 100644 (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"