diff options
author | David Seifert <soap@gentoo.org> | 2021-08-02 12:41:38 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-08-06 16:40:58 +0200 |
commit | 3450d8dc8ddb582816c6c481b6a9b7378706ab3b (patch) | |
tree | f66c2c4c701c534b9adc6f1c50584655c33e0b71 | |
parent | cc94387e674c7db7b15efe56763fe6c87363f73d (diff) | |
download | systemd-3450d8dc8ddb582816c6c481b6a9b7378706ab3b.tar.gz |
Use correct `<fcntl.h>` include
* `<sys/fcntl.h>` is not specified in POSIX
(cherry picked from commit f8d54f7810aeea5ff27a5db03e1aab7ea54c8268)
-rw-r--r-- | src/basic/fileio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h index c28b17fef5..9bd2037f5b 100644 --- a/src/basic/fileio.h +++ b/src/basic/fileio.h @@ -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" |